capnp

OCaml code generation plugin for the Cap'n Proto serialization framework
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library capnp
Module Capnp . BytesStorage
module Uint32 = Stdint.Uint32
module Uint64 = Stdint.Uint64
type t = Bytes.t
val alloc : int -> bytes
val release : 'a -> unit
val length : bytes -> int
val get_uint8 : Bytes.t -> int -> int
val get_uint16 : Bytes.t -> int -> int
val get_uint32 : Bytes.t -> int -> Uint32.t
val get_uint64 : Bytes.t -> int -> Uint64.t
val get_int8 : Bytes.t -> int -> int
val get_int16 : Bytes.t -> int -> int
val get_int32 : Bytes.t -> int -> int32
val get_int64 : Bytes.t -> int -> int64
val set_uint32 : Bytes.t -> int -> Uint32.t -> unit
val set_uint64 : Bytes.t -> int -> Uint64.t -> unit
val set_int32 : Bytes.t -> int -> int32 -> unit
val set_int64 : Bytes.t -> int -> int64 -> unit
val set_uint8 : Bytes.t -> int -> int -> unit
val set_uint16 : Bytes.t -> int -> int -> unit
val set_int8 : Bytes.t -> int -> int -> unit
val set_int16 : Bytes.t -> int -> int -> unit
val blit : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit
val blit_to_bytes : src:bytes -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit
val blit_from_string : src:string -> src_pos:int -> dst:bytes -> dst_pos:int -> len:int -> unit
val zero_out : bytes -> pos:int -> len:int -> unit