package bin
All checked builds pass sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A DSL to describe binary formats
Install
dune-project
Dependency
Authors
Maintainers
Sources
bstr-0.1.2.tbz
sha256=276f37c1a8798db2227d603e4ba47fe9f4c36bcdfb2e740ef1d3d3aff392d4b2
sha512=73689f2167df7a4d7617b00db29f7350172459b56371d5da75c34c7a0639ef251406cd597ecb1f25322a6abbd9ad2e5c9e34e66a64058182d65bee42d8d5d4bc
doc/bin/Bin_decoder_bstr/index.html
Module Bin_decoder_bstrSource
Source
type rmemo = | Rm : ('a Bin_type.Witness.t * (Bin_bstr.t -> abs -> Bin_type.pos -> 'a)) -> rmemo
Source
val rmemo_find :
'a. 'a Bin_type.Witness.t ->
rmemo list ->
(Bin_bstr.t -> abs -> Bin_type.pos -> 'a) optionSource
type _ static_operation = | Iu : {q : rel;lsh : int;rsh : int;
} -> int static_operation| Is : {q : rel;lsh : int;rsh : int;
} -> int static_operation| Iu_swap : {q : rel;lsh : int;rsh : int;
} -> int static_operation| Is_swap : {q : rel;lsh : int;rsh : int;
} -> int static_operation| I32raw : {q : rel;sh : int;
} -> int32 static_operation| I32swap : {q : rel;sh : int;
} -> int32 static_operation| I64raw : rel -> int64 static_operation| I64swap : rel -> int64 static_operation| Ofun : 'a sread -> 'a static_operation
Source
val int_exec :
Bin_bstr.t ->
Bin_type.Off.abs Bin_type.Off.t ->
Bin_type.Off.rel Bin_type.Off.t ->
int ->
int ->
intSource
type ('a, 'b) sreaders = | S0 : ('a, 'a) sreaders| S1 : 'b static_operation * ('a, 'c) sreaders -> ('a, 'b -> 'c) sreaders| Sint : int_operation * ('a, 'c) sreaders -> ('a, int -> 'c) sreaders
Source
val truncated_in :
string ->
limit:Bin_error.Off.abs Bin_type.Off.t ->
offset:Bin_error.Off.abs Bin_error.Off.t ->
need:Bin_error.Len.t ->
'aSource
val readn :
Bin_type.Len.t ->
('a -> int -> 'b) ->
'a ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
'bSource
val r_1 :
('a -> int -> 'b) ->
'a ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
'bSource
val r_2 :
('a -> int -> 'b) ->
'a ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
'bSource
val r_4 :
('a -> int -> 'b) ->
'a ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
'bSource
val r_8 :
('a -> int -> 'b) ->
'a ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
'bSource
val static_apply_top :
'a 'b. 'b ->
('a, 'b) sreaders ->
Bin_type.Len.t ->
string ->
Bin_bstr.t ->
?len:??? ->
Bin_type.pos ->
'aSource
val read_varint :
Bin_bstr.t ->
Bin_error.Off.abs Bin_error.Off.t ->
Bin_error.Off.abs Bin_error.Off.t ref ->
intSource
val int_operation_at :
win:Bin_type.Len.t ->
delta:rel ->
w:Bin_type.Len.t ->
big:bool ->
int_operation optionSource
val int_operation_reader_at :
'a. win:Bin_type.Len.t ->
rel ->
'a Bin_type.t ->
'a int_operation_w optionSource
val narrow :
win:Bin_type.Len.t ->
delta:rel ->
w:Bin_type.Len.t ->
signed:bool ->
big:bool ->
fallback:int sread ->
int static_operationSource
val narrow32 :
win:Bin_type.Len.t ->
delta:rel ->
big:bool ->
fallback:int32 sread ->
int32 static_operationSource
val narrow64 :
win:Bin_type.Len.t ->
delta:rel ->
big:bool ->
fallback:int64 sread ->
int64 static_operationSource
val static_reader_at :
'a. total:bool ref ->
win:Bin_type.Len.t ->
rel ->
'a Bin_type.t ->
'a static_operation optionSource
val static_seq :
'a 'b. delta:rel ->
n:int ->
w:Bin_type.Len.t ->
'a static_operation ->
('a, 'b) Bin_type.seq_kind ->
'b sreadSource
val static_primary_at :
'a. win:Bin_type.Len.t ->
rel ->
'a Bin_type.primary ->
'a static_operation optionSource
val static_record_at :
'a. total:bool ref ->
win:Bin_type.Len.t ->
rel ->
'a Bin_type.record ->
'a splan option sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>