Binsec.BinstreamRepresentation of binary streams
val empty : tval of_nibbles : string -> tof_nibbles s converts a string s of hexadecimal characters.
@assumes each character is in the range 0-9a-f.
val of_bytes : string -> tof_bytes s converts a byte stream s. Each character stands for its own byte.
val of_list : int list -> tof_list l converts a list of integers.
@assumes: each integer n is in the range 0 <= n <= 255.
val iter : (int -> unit) -> t -> unitval fold : (int -> 'a -> 'a) -> t -> 'a -> 'aval length : t -> intval get_byte : t -> int -> int optionval get_byte_exn : t -> int -> intget_byte b n retrieves byte number n from b
The byte sequence is 0-indexed.
val to_string : t -> stringinclude Sigs.PRINTABLE with type t := tval pp : Format.formatter -> t -> unit