go/scanner.Scanner.rdOffset (field)
11 uses
go/scanner (current package)
scanner.go#L43: rdOffset int // reading offset (position after current character)
scanner.go#L57: if s.rdOffset < len(s.src) {
scanner.go#L58: s.offset = s.rdOffset
scanner.go#L63: r, w := rune(s.src[s.rdOffset]), 1
scanner.go#L69: r, w = utf8.DecodeRune(s.src[s.rdOffset:])
scanner.go#L76: s.rdOffset += w
scanner.go#L91: if s.rdOffset < len(s.src) {
scanner.go#L92: return s.src[s.rdOffset]
scanner.go#L135: s.rdOffset = 0
scanner.go#L305: s.rdOffset = offs + 1
scanner.go#L884: s.rdOffset = s.offset + 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. |