Bin_prot.CommonSourceCommon definitions used by binary protocol converters
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.
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 ()
copy_htbl_list htbl lst adds all (key, value) pairs in lst to hash table htbl.