Function bitWriter [src]
Alias for std.io.bit_writer.bitWriter
Prototype
pub fn bitWriter(comptime endian: std.builtin.Endian, writer: anytype) BitWriter(endian, @TypeOf(writer))
Parameters
endian: std.builtin.Endian
Source
pub fn bitWriter(comptime endian: std.builtin.Endian, writer: anytype) BitWriter(endian, @TypeOf(writer)) {
return .{ .writer = writer };
}