Skip to main content

check_filter

Function check_filter 

Source
fn check_filter(
    filter_type: VarInt,
    start_group: &Option<VarInt>,
    start_object: &Option<VarInt>,
    end_group: &Option<VarInt>,
) -> Result<(), CodecError>
Expand description

Both halves of a Start Location travel together, and only the two absolute filters put one on the wire. The Filter Type is still a raw varint on this draft, so the range check the decoder applies belongs here too.