package bencode

  1. Overview
  2. Docs
val size : bencode -> int
val write_in_string : t -> Bytes.t -> int -> unit
val to_buf : Buffer.t -> t -> unit
val to_string : t -> string
val to_bytes : t -> Bytes.t
val to_chan : out_channel -> t -> unit
val fmt : Format.formatter -> t -> unit
val to_list : bencode -> Bencode_token.t list
val put : Bencode_token.Encode.t -> t -> unit
OCaml

Innovation. Community. Security.