encoding/pem.lineBreaker.used (field)
9 uses
encoding/pem (current package)
pem.go#L213: used int
pem.go#L220: if l.used+len(b) < pemLineLength {
pem.go#L221: copy(l.line[l.used:], b)
pem.go#L222: l.used += len(b)
pem.go#L226: n, err = l.out.Write(l.line[0:l.used])
pem.go#L230: excess := pemLineLength - l.used
pem.go#L231: l.used = 0
pem.go#L247: if l.used > 0 {
pem.go#L248: _, err = l.out.Write(l.line[0:l.used])
![]() |
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. |