pub fn alignTo32(self: *BcWriter) Error!void self: *BcWriterOutOfMemory153
154
155
156
157
158
159 pub fn alignTo32(self: *BcWriter) Error!void {
if (self.bit_count == 0) return;
try self.buffer.append(std.mem.nativeToLittle(u32, self.bit_buffer));
self.bit_buffer = 0;
self.bit_count = 0;
}