pub fn decode_write_length(bytes: [u8; 8], remaining: u64) -> Result<u64, Error>
Decode an inner write’s length field, refusing an empty write or one longer than the remaining body bytes after the field.
remaining