github.com/jackc/chunkreader/v2.ChunkReader.rp (field)
11 uses
github.com/jackc/chunkreader/v2 (current package)
chunkreader.go#L19: rp, wp int // buf read position and write position
chunkreader.go#L60: if (r.wp - r.rp) >= n {
chunkreader.go#L61: buf = r.buf[r.rp : r.rp+n]
chunkreader.go#L62: r.rp += n
chunkreader.go#L72: minReadCount := n - (r.wp - r.rp)
chunkreader.go#L82: buf = r.buf[r.rp : r.rp+n]
chunkreader.go#L83: r.rp += n
chunkreader.go#L101: r.wp = copy(dest, r.buf[r.rp:r.wp])
chunkreader.go#L102: r.rp = 0
![]() |
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. |