fn decode(self: *LenDecoder, reader: anytype, decoder: *RangeDecoder, pos_state: usize, update: bool) !usize
self: *LenDecoder,
reader: anytype,
decoder: *RangeDecoder,
pos_state: usize,
update: bool,