bin_prot

A binary protocol generator
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library bin_prot
Module Bin_prot . Blob
type 'a id = 'a
type 'a t = 'a
val compare : ( 'a -> 'a -> int ) -> 'a t -> 'a t -> int
include Binable.S1 with type 'a t := 'a id
val bin_shape_t : Shape.t -> Shape.t
val bin_size_t : ( 'a, 'a id ) Size.sizer1
val bin_write_t : ( 'a, 'a id ) Write.writer1
val bin_read_t : ( 'a, 'a id ) Read.reader1
val __bin_read_t__ : ( 'a, int -> 'a id ) Read.reader1
val bin_writer_t : ( 'a, 'a id ) Type_class.S1.writer
val bin_reader_t : ( 'a, 'a id ) Type_class.S1.reader
val bin_t : ( 'a, 'a id ) Type_class.S1.t
module Opaque : sig ... end

An Opaque.Bigstring.t or Opaque.String.t is an arbitrary piece of bin-prot. The bin-prot (de-)serializers simply read/write the data, prefixed with its size.

module Ignored : sig ... end

An Ignored.t is an unusable value with special bin-prot converters. The reader reads the size and drops that much data from the buffer. Writing is not supported, however the size of t is kept, so bin_size_t is available.