fn peekWithState(buf: []const u8, bit_len: usize) u1
Standalone function for working with a fixed-size buffer.
buf: []const u8,
bit_len: usize,