Effectively a stack of u1 values implemented using ArrayList(u8).

Fields

bytes: field_call,
bit_len: usize = 0,

Functions

fn deinit(self: *@This()) void

No documentation provided.

fn ensureTotalCapacity(self: *@This(), bit_capcity: usize) Allocator.Error!void

No documentation provided.

fn init(allocator: Allocator) @This()

No documentation provided.

fn peek(self: *const @This()) u1

No documentation provided.

fn peekWithState(buf: []const u8, bit_len: usize) u1

Standalone function for working with a fixed-size buffer.

fn pop(self: *@This()) u1

No documentation provided.

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

Standalone function for working with a fixed-size buffer.

fn push(self: *@This(), b: u1) Allocator.Error!void

No documentation provided.

fn pushWithStateAssumeCapacity(buf: []u8, bit_len: *usize, b: u1) void

Standalone function for working with a fixed-size buffer.