Skip to main content

decode_write_length

Function decode_write_length 

Source
pub fn decode_write_length(bytes: [u8; 8], remaining: u64) -> Result<u64, Error>
Expand description

Decode an inner write’s length field, refusing an empty write or one longer than the remaining body bytes after the field.