Function assert_enough_data_for

Source
pub fn assert_enough_data_for(
    read_buf: &impl Buf,
    size: usize,
) -> Result<(), SerializationError>