compress/zlib.reader.scratch (field)
16 uses
compress/zlib (current package)
reader.go#L51: scratch [4]byte
reader.go#L102: if _, err := io.ReadFull(z.r, z.scratch[0:4]); err != nil {
reader.go#L110: checksum := uint32(z.scratch[0])<<24 | uint32(z.scratch[1])<<16 | uint32(z.scratch[2])<<8 | uint32(z.scratch[3])
reader.go#L138: _, z.err = io.ReadFull(z.r, z.scratch[0:2])
reader.go#L145: h := uint(z.scratch[0])<<8 | uint(z.scratch[1])
reader.go#L146: if (z.scratch[0]&0x0f != zlibDeflate) || (h%31 != 0) {
reader.go#L150: haveDict := z.scratch[1]&0x20 != 0
reader.go#L152: _, z.err = io.ReadFull(z.r, z.scratch[0:4])
reader.go#L159: checksum := uint32(z.scratch[0])<<24 | uint32(z.scratch[1])<<16 | uint32(z.scratch[2])<<8 | uint32(z.scratch[3])
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |