Crate bitcoinleveldb_coding

Source

Functions§

decode_fixed32
| Lower-level versions of Get… that | read directly from a character buffer | without any bounds checking. |
decode_fixed64
encode_fixed32
| Lower-level versions of Put… that write | directly into a character buffer | | REQUIRES: dst has enough space for the value | being written
encode_fixed64
encode_varint32
| Lower-level versions of Put… that write | directly into a character buffer and return | a pointer just past the last byte written. | | REQUIRES: dst has enough space for the value | being written
encode_varint64
get_length_prefixed_slice
get_length_prefixed_slice_with_limit
get_varint32
| Standard Get… routines parse a value | from the beginning of a Slice and advance | the slice past the parsed value. |
get_varint64
get_varint_32ptr
| Pointer-based variants of GetVarint… These | either store a value in *v and return a pointer | just past the parsed value, or return nullptr | on error. These routines only look at bytes in | the range [p..limit-1]
get_varint_32ptr_fallback
| Internal routine for use by fallback | path of GetVarint32Ptr |
get_varint_64ptr
put_fixed32
| Standard Put… routines append to | a string |
put_fixed64
put_length_prefixed_slice
put_varint32
put_varint64
varint_length
| Returns the length of the varint32 or | varint64 encoding of “v” |