Skip to main content

handle_null_marker

Function handle_null_marker 

Source
pub fn handle_null_marker<T: DeserializableTraceData>(
    buf: &mut Buffer<T>,
) -> bool
Expand description

Handle the null value by peeking if the next value is a null marker, and will only advance the buffer if it is null. If it is not null, you can continue to decode as expected.

ยงReturns

A boolean indicating whether the next value is null or not.