fn readLiteralsBits(
self: *Decode,
bit_count_to_read: u16,
) LiteralBitsError!u16 self: *Decodebit_count_to_read: u16827
828
829
830
831
832
833
834
835
836
837
838
839
840 fn readLiteralsBits(
self: *Decode,
bit_count_to_read: u16,
) LiteralBitsError!u16 {
return self.literal_stream_reader.readBitsNoEof(u16, bit_count_to_read) catch bits: {
if (self.literal_streams == .four and self.literal_stream_index < 3) {
try self.nextLiteralMultiStream();
break :bits self.literal_stream_reader.readBitsNoEof(u16, bit_count_to_read) catch
return error.UnexpectedEndOfLiteralStream;
} else {
return error.UnexpectedEndOfLiteralStream;
}
};
}