package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

v3.8.tar.gz
md5=f1c717c9a1015e81253f226ae594f547
sha512=7640b6af5a61e53e52eac51f237a06c5c21597374481af218cf0601c2b9059b96254058b92adb73ce20b1dece4ccaffb99d1b29b235c4dc954619738d8d0de40

doc/containers.bencode/Containers_bencode/index.html

Module Containers_bencodeSource

Basic Bencode decoder/encoder.

See https://en.wikipedia.org/wiki/Bencode .

  • since 3.8
Sourcemodule Str_map : sig ... end
Sourcetype t =
  1. | Int of int64
  2. | String of string
  3. | List of t list
  4. | Map of t Str_map.t
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval pp_debug : Format.formatter -> t -> unit

Printer for diagnostic/human consumption

Sourceval to_string_debug : t -> string
Sourceval int : int -> t
Sourceval int64 : int64 -> t
Sourceval string : string -> t
Sourceval list : t list -> t
Sourceval map_of_list : (string * t) list -> t
Sourceval map : t Str_map.t -> t
Sourcemodule Encode : sig ... end

Encoding

Sourcemodule Decode : sig ... end

Decoding

OCaml

Innovation. Community. Security.