pub fn decode_len_with_offset(
    buf: impl AsRef<[u8]>,
    offset: usize
) -> Result<usize, Box<dyn Error + Send + Sync>>
Expand description

Returns how many bytes a decoded bitfield will use, starting at a specific offset.