encoding/gob.encoderState.buf (field)
4 uses
encoding/gob (current package)
encode.go#L31: buf [1 + uint64Size]byte // buffer used by the encoder; here to avoid allocation.
encode.go#L113: binary.BigEndian.PutUint64(state.buf[1:], x)
encode.go#L115: state.buf[bc] = uint8(bc - uint64Size) // and then we subtract 8 to get -bytelen(x)
encode.go#L117: state.b.Write(state.buf[bc : uint64Size+1])
 |
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. |