Function bitReader [src]

Alias for std.io.bit_reader.bitReader

Prototype

pub fn bitReader(comptime endian: std.builtin.Endian, reader: anytype) BitReader(endian, @TypeOf(reader))

Parameters

endian: std.builtin.Endian

Source

pub fn bitReader(comptime endian: std.builtin.Endian, reader: anytype) BitReader(endian, @TypeOf(reader)) { return .{ .reader = reader }; }