- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for readByteStuffedByte (0.12 sec)
-
src/image/jpeg/huffman.go
// 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 { if err == io.ErrUnexpectedEOF { return errShortHuffmanData } return err } d.bits.a = d.bits.a<<8 | uint32(c) d.bits.n += 8 if d.bits.m == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 6.3K bytes - Viewed (0)