Function skip [src]

Use this function to increase idx.

Prototype

pub fn skip(d: *Decoder, amt: usize) void

Parameters

d: *Decoderamt: usize

Source

pub fn skip(d: *Decoder, amt: usize) void { d.idx += amt; assert(d.idx <= d.our_end); // insufficient ensured bytes }