bytes.Reader.s (field)
16 uses
bytes (current package)
reader.go#L19: s []byte
reader.go#L27: if r.i >= int64(len(r.s)) {
reader.go#L30: return int(int64(len(r.s)) - r.i)
reader.go#L37: func (r *Reader) Size() int64 { return int64(len(r.s)) }
reader.go#L41: if r.i >= int64(len(r.s)) {
reader.go#L45: n = copy(b, r.s[r.i:])
reader.go#L56: if off >= int64(len(r.s)) {
reader.go#L59: n = copy(b, r.s[off:])
reader.go#L69: if r.i >= int64(len(r.s)) {
reader.go#L72: b := r.s[r.i]
reader.go#L89: if r.i >= int64(len(r.s)) {
reader.go#L94: if c := r.s[r.i]; c < utf8.RuneSelf {
reader.go#L98: ch, size = utf8.DecodeRune(r.s[r.i:])
reader.go#L126: abs = int64(len(r.s)) + offset
reader.go#L140: if r.i >= int64(len(r.s)) {
reader.go#L143: b := r.s[r.i:]
![]() |
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. |