package bencode

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