- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ensureNBits (0.2 sec)
-
src/image/jpeg/huffman.go
// Huffman data. var errShortHuffmanData = FormatError("short Huffman data") // ensureNBits reads bytes from the byte buffer to ensure that d.bits.n is at // least n. For best performance (avoiding function calls inside hot loops), // the caller is the one responsible for first checking that d.bits.n < n. func (d *decoder) ensureNBits(n int32) error { for { c, err := d.readByteStuffedByte() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 6.3K bytes - Viewed (0)