Function bitcoinleveldb_table::decode_entry
source · pub fn decode_entry(
p: *const u8,
limit: *const u8,
shared: *mut u32,
non_shared: *mut u32,
value_length: *mut u32
) -> *const u8
Expand description
| Helper routine: decode the next block entry | starting at “p”, storing the number of shared | key bytes, non_shared key bytes, and the length | of the value in “*shared”, “*non_shared”, and | “*value_length”, respectively. Will not | dereference past “limit”. | | If any errors are detected, returns nullptr. | Otherwise, returns a pointer to the key delta | (just past the three decoded values).