package bin

  1. Overview
  2. Docs
A DSL to describe binary formats

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bstr-0.1.0.tbz
sha256=4a9073caf8c5eb502e002a54910b1477300f1bc27aadfa286370e336ade3ba8e
sha512=510478a62438caffa6eece71938bc4eb24305ed31743ab1389ec9951e85a22242c1392bf4872051497e7be80613c7a68e9c8cb74e4ed36c106e8fa0f5d24181c

doc/bin/Bin_encoder_bstr/index.html

Module Bin_encoder_bstrSource

Sourceval strf : ('a, Format.formatter, unit, string) format4 -> 'a
Sourcetype wmemo =
  1. | Wm : ('a Bin_type.Witness.t * ('a -> Bin_bstr.t -> abs -> Bin_type.pos -> unit)) -> wmemo
Sourceval wmemo_find : 'a. 'a Bin_type.Witness.t -> wmemo list -> ('a -> Bin_bstr.t -> abs -> Bin_type.pos -> unit) option
Sourceval invalid_window : offset:abs -> len:int -> 'a
Sourceval window : ?len:??? -> Bin_bstr.t -> abs -> 'a Bin_type.Off.t
Sourceval w_char : Bin_type.Off.rel Bin_type.Off.t -> ('a -> char) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_ui8 : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_ui16_le : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_ui16_be : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_ui16_ne : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i16_le : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i16_be : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i16_ne : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i32_le : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int32) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i32_be : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int32) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i32_ne : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int32) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i64_le : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int64) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i64_be : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int64) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_i64_ne : Bin_type.Off.rel Bin_type.Off.t -> ('a -> int64) -> 'a -> Bin_bstr.t -> Bin_type.Off.abs Bin_type.Off.t -> unit
Sourceval w_ignore3 : 'a -> 'b -> 'c -> unit
Sourceval w_ignore4 : 'a -> 'b -> 'c -> 'd -> unit
Sourceval w_1 : ('a -> int -> 'b -> 'c) -> 'b -> 'a -> Bin_error.Off.abs Bin_error.Off.t -> Bin_error.Off.abs Bin_error.Off.t ref -> 'c
Sourceval w_2 : ('a -> int -> 'b -> 'c) -> 'b -> 'a -> Bin_error.Off.abs Bin_error.Off.t -> Bin_error.Off.abs Bin_error.Off.t ref -> 'c
Sourceval w_4 : ('a -> int -> 'b -> 'c) -> 'b -> 'a -> Bin_error.Off.abs Bin_error.Off.t -> Bin_error.Off.abs Bin_error.Off.t ref -> 'c
Sourceval w_8 : ('a -> int -> 'b -> 'c) -> 'b -> 'a -> Bin_error.Off.abs Bin_error.Off.t -> Bin_error.Off.abs Bin_error.Off.t ref -> 'c
Sourcetype 'a fwrite = 'a -> Bin_bstr.t -> int -> int -> Bin_type.pos -> unit
Sourcetype 'a swrite = 'a -> Bin_bstr.t -> abs -> unit
Sourceval bits_cells : 'a. 'a Bin_type.bits -> ('a -> int) array
Sourceval bits_writer_at : 'a. rel -> 'a Bin_type.bits -> 'a swrite
Sourceval bits_writer : 'a. 'a Bin_type.bits -> 'a swrite
Sourceval static_writer_for : 'a 'b. rel -> ('a -> 'b) -> 'b Bin_type.t -> 'a swrite option
Sourceval static_primary_writer_for : 'a 'b. rel -> ('a -> 'b) -> 'b Bin_type.primary -> 'a swrite option
Sourceval static_record_cells : 'a. rel -> 'a Bin_type.record -> 'a swrite array option
Sourceval static_record_writer_at : 'a. rel -> 'a Bin_type.record -> 'a swrite option
Sourceval static_writer : 'a. 'a Bin_type.t -> 'a swrite option
Sourceval writer : 'a. 'a Bin_type.t -> 'a -> Bin_bstr.t -> abs -> Bin_type.pos -> unit
Sourceval encode : 'a. 'a Bin_type.t -> 'a -> Bin_bstr.t -> ?len:??? -> Bin_type.pos -> unit