package bencode

  1. Overview
  2. Docs

Shortcuts

val to_string : token list -> string
val output : out_channel -> token list -> unit
val of_string : string -> token list option
val of_bytes : Bytes.t -> token list option
val of_string_exn : string -> token list
  • raises Failure

    if the string isn't valid

OCaml

Innovation. Community. Security.