pub fn push(self: *@This(), b: u1) Allocator.Error!void self: *@This()b: u128
29
30
31
32
33
34
35pub fn push(self: *@This(), b: u1) Allocator.Error!void {
const byte_index = self.bit_len >> 3;
if (self.bytes.items.len <= byte_index) {
try self.bytes.append(0);
}
pushWithStateAssumeCapacity(self.bytes.items, &self.bit_len, b);
}