Function popWithState [src]

Standalone function for working with a fixed-size buffer.

Prototype

pub fn popWithState(buf: []const u8, bit_len: *usize) u1

Parameters

buf: []const u8bit_len: *usize

Source

pub fn popWithState(buf: []const u8, bit_len: *usize) u1 { const b = peekWithState(buf, bit_len.*); bit_len.* -= 1; return b; }