encoding/base64.decoder.nbuf (field)
13 uses
encoding/base64 (current package)
base64.go#L395: nbuf int
base64.go#L415: for d.nbuf < 4 && d.readErr == nil {
base64.go#L423: nn, d.readErr = d.r.Read(d.buf[d.nbuf:nn])
base64.go#L424: d.nbuf += nn
base64.go#L427: if d.nbuf < 4 {
base64.go#L428: if d.enc.padChar == NoPadding && d.nbuf > 0 {
base64.go#L431: nw, d.err = d.enc.Decode(d.outbuf[:], d.buf[:d.nbuf])
base64.go#L432: d.nbuf = 0
base64.go#L444: if d.err == io.EOF && d.nbuf > 0 {
base64.go#L451: nr := d.nbuf / 4 * 4
base64.go#L452: nw := d.nbuf / 4 * 3
base64.go#L461: d.nbuf -= nr
base64.go#L462: copy(d.buf[:d.nbuf], d.buf[nr:])
![]() |
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. |