encoding/gob.Encoder.countState (field)
6 uses
encoding/gob (current package)
encoder.go#L21: countState *encoderState // stage for writing counts
encoder.go#L38: enc.countState = enc.newEncoderState(new(encBuffer))
encoder.go#L76: enc.countState.b.Reset()
encoder.go#L77: enc.countState.encodeUint(uint64(messageLen))
encoder.go#L79: offset := maxLength - enc.countState.b.Len()
encoder.go#L80: copy(message[offset:], enc.countState.b.Bytes())
![]() |
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. |