Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val size : bencode -> int
Size needed for serialization, in bytes
write_in_string v buf o
writes the value v
in the string, starting at offset o
. The portion of the string starting from o
must be big enough (ie >= size v
)
val to_string : t -> string
val to_chan : out_channel -> t -> unit
val fmt : Format.formatter -> t -> unit
val to_seq : bencode -> Bencode_token.t sequence
Traverse the Bencode value as a sequence of tokens
val to_list : bencode -> Bencode_token.t list
val put : Bencode_token.Encode.t -> t -> unit
Put the whole value on the given token encoder