package cstruct

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type byte = char
val byte : int -> byte
val byte_to_int : byte -> int
type bytes = string
type uint8 = int
type uint16 = int
type uint32 = int32
type uint64 = int64
type ipv4 = int32
type ipv6 = int64 * int64
val ipv4_to_string : ipv4 -> string
val ipv6_to_string : ipv6 -> string
val get_char : buf -> int -> char
val get_uint8 : buf -> int -> uint8
val set_char : buf -> int -> char -> unit
val set_uint8 : buf -> int -> uint8 -> unit
val sub_buffer : buf -> int -> int -> buf
val copy_buffer : buf -> int -> int -> string
val copy_buffers : buf list -> string
val blit_buffer : buf -> int -> buf -> int -> int -> unit
val set_buffer : string -> int -> buf -> int -> int -> unit
module BE : sig ... end
module LE : sig ... end
val len : buf -> int
val lenv : buf list -> int
val base_offset : buf -> int
val shift_left : buf -> int -> bool
val sub : buf -> int -> int -> buf
val shift : buf -> int -> buf
val split : ?start:int -> buf -> int -> buf * buf
val to_string : buf -> string
val hexdump : buf -> unit
type !'a iter = unit -> 'a option
val iter : (buf -> int option) -> (buf -> 'a) -> buf -> 'a iter
val fold : ('b -> 'a -> 'b) -> 'a iter -> 'b -> 'b
OCaml

Innovation. Community. Security.