package bencode

  1. Overview
  2. Docs
type t
val to_buf : Buffer.t -> t

Encode directly to the given buffer

val to_chan : out_channel -> t

Write on the given channel

val put : t -> token -> unit
val put_many : t -> token sequence -> unit
OCaml

Innovation. Community. Security.