alignTo32
Function parameters
Parameters
- self:*BcWriter
Type definitions in this namespace
Types
Functions in this namespace
Functions
Error sets in this namespace
Error Sets
Source
Implementation
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;
}