golang.org/x/pkgsite/internal/godoc/codec.Decoder.readBytes (method)
6 uses
golang.org/x/pkgsite/internal/godoc/codec (current package)
codec.go#L130: func (d *Decoder) readBytes(n int) []byte {
codec.go#L140: return string(d.readBytes(len))
codec.go#L150: return binary.LittleEndian.Uint32(d.readBytes(4))
codec.go#L160: return binary.LittleEndian.Uint64(d.readBytes(8))
codec.go#L272: return d.readBytes(d.decodeLen())
codec.go#L430: d.readBytes(int(d.DecodeUint()))
![]() |
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. |