package bin_prot
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3ede8089d809186ba2bc7ade49d814c6d60e0414c2ba075807eaeb05d1d0a2f1
doc/bin_prot/Bin_prot/Common/index.html
Module Bin_prot.CommonSource
Common definitions used by binary protocol converters
Buffers
Position within buffers
Buffers
blit_string_buf ?src_pos src ?dst_pos dst ~len blits len bytes of the source string src starting at position src_pos to buffer dst starting at position dst_pos.
blit_bytes_buf ?src_pos src ?dst_pos dst ~len blits len bytes of the source byte sequence src starting at position src_pos to buffer dst starting at position dst_pos.
blit_buf_string ?src_pos src ?dst_pos dst ~len blits len bytes of the source buffer src starting at position src_pos to string dst starting at position dst_pos.
blit_buf_bytes ?src_pos src ?dst_pos dst ~len blits len bytes of the source buffer src starting at position src_pos to byte sequence dst starting at position dst_pos.
blit_buf ?src_pos ~src ?dst_pos ~dst len blits len bytes of the source buffer src starting at position src_pos to destination buffer dst starting at position dst_pos.
Errors and exceptions
Buffer too short for read/write operation
Used internally for backtracking
ReadError (err, err_pos)
PolyRecWrite type gets raised when the user attempts to write or estimate the size of a value of a type that is bound through a polymorphic record field in type definition type.
EmptyType gets raised when the user attempts to write or estimate the size of a value of an empty type, which would not make sense.
raise_read_error err pos
raise_concurrent_modification loc
array_bound_error ()
Bigarrays
Miscellaneous
copy_htbl_list htbl lst adds all (key, value) pairs in lst to hash table htbl.