fn readBitsNoEof(self: *Self, comptime U: type, bits: usize) !U

Reads bits bits from the stream and returns a specified unsigned int type containing them in the least significant end, returning an error if the specified number of bits could not be read.

Parameters

self: *Self,
U: type,
bits: usize,