package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = Stdlib.Bytes.t
val alloc : int -> bytes
val release : 'a -> unit
val length : bytes -> int
val get_uint8 : Stdlib.Bytes.t -> int -> int
val get_uint16 : Stdlib.Bytes.t -> int -> int
val get_uint32 : Stdlib.Bytes.t -> int -> Uint32.uint32
val get_uint64 : Stdlib.Bytes.t -> int -> Uint64.uint64
val get_int8 : Stdlib.Bytes.t -> int -> int
val get_int16 : Stdlib.Bytes.t -> int -> int
val get_int32 : Stdlib.Bytes.t -> int -> int32
val get_int64 : Stdlib.Bytes.t -> int -> int64
val set_uint32 : Stdlib.Bytes.t -> int -> Uint32.uint32 -> unit
val set_uint64 : Stdlib.Bytes.t -> int -> Uint64.uint64 -> unit
val set_int32 : Stdlib.Bytes.t -> int -> int32 -> unit
val set_int64 : Stdlib.Bytes.t -> int -> int64 -> unit
val set_uint8 : Stdlib.Bytes.t -> int -> int -> unit
val set_uint16 : Stdlib.Bytes.t -> int -> int -> unit
val set_int8 : Stdlib.Bytes.t -> int -> int -> unit
val set_int16 : Stdlib.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
OCaml

Innovation. Community. Security.