bytes.Reader.Len (method)
7 uses
bytes (current package)
reader.go#L26: func (r *Reader) Len() int {
crypto/tls
conn.go#L599: if c.input.Len() != 0 {
conn.go#L1275: for c.input.Len() == 0 {
conn.go#L1295: if n != 0 && c.input.Len() == 0 && c.rawInput.Len() > 0 &&
golang.org/x/pkgsite/internal/stdlib
stdlib.go#L357: zr, err := zip.NewReader(br, int64(br.Len()))
net/http
request.go#L897: req.ContentLength = int64(v.Len())
net/http/httptest
httptest.go#L59: req.ContentLength = int64(v.Len())
![]() |
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. |