package capnp

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Runtime.PackingSource

Sourceval count_zeros : start:int -> stop:int -> string -> int
Sourcetype output_buffers_t = {
  1. output_buf : Buffer.t;
  2. lit_buf : Buffer.t;
  3. tagged_bytes : Bytes.t;
}
Sourceval pack_loop_words : input:string -> ofs:int -> buffers:output_buffers_t -> string
Sourceval pack_loop_bytes : input:string -> ofs:int -> buffers:output_buffers_t -> string
Sourceval pack_loop_zero_words : input:string -> ofs:int -> count:int -> buffers:output_buffers_t -> string
Sourceval pack_loop_literal_words : input:string -> ofs:int -> buffers:output_buffers_t -> count:int -> string
Sourceval pack_string : string -> string

Pack a word_aligned string.

Sourceval bits_set_lookup : int array
Sourceval bits_set : int -> int
Sourcemodule MixedContext : sig ... end
Sourceval transfer_mixed_bytes : unpacked:Capnp__.FragmentBuffer.t -> mixed_context:MixedContext.t -> unit
Sourceval unpack_coalesce_buffer_and_retry : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> buf:string -> ofs:int -> mixed_context:MixedContext.t -> required_byte_count:int -> unit
Sourceval unpack_zeros : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> buf:string -> ofs:int -> mixed_context:MixedContext.t -> unit
Sourceval unpack_literal_bytes : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> buf:string -> ofs:int -> mixed_context:MixedContext.t -> unit
Sourceval unpack_mixed_bytes : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> buf:string -> ofs:int -> mixed_context:MixedContext.t -> tag:char -> unit
Sourceval unpack_decode_tag : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> buf:string -> ofs:int -> mixed_context:MixedContext.t -> unit
Sourceval unpack : packed:Capnp__.FragmentBuffer.t -> unpacked:Capnp__.FragmentBuffer.t -> unit

Unpack as much data as possible from the packed fragment buffer. into the unpacked fragment buffer.

Sourceval unpack_string : string -> string
OCaml

Innovation. Community. Security.