pub fn parse_unsigned_vint32(input: &[u8]) -> IResult<&[u8], u32>Expand description
Parse unsigned VInt32 for Cassandra value lengths
Matches org/apache/cassandra/io/util/DataInputPlus.readUnsignedVInt32() Used for variable-width type value lengths (text, blob, decimal, etc.)
Encoding format:
- Leading 1-bits indicate number of extra bytes
- Pattern: [n ones][0][data bits]
- Example: 0xxxxxxx = 1 byte, 10xxxxxx xxxxxxxx = 2 bytes
§Arguments
input- Input byte slice
§Returns
Tuple of (remaining_bytes, decoded_u32_value)