func io.LimitReader
8 uses
io (current package)
io.go#L365: written, err = Copy(dst, LimitReader(src, n))
io.go#L462: func LimitReader(r Reader, n int64) Reader { return &LimitedReader{r, n} }
github.com/gotd/td/internal/proto
gzip.go#L166: reader: io.LimitReader(r, maxUncompressedSize),
net/http
request.go#L1235: reader = io.LimitReader(r.Body, maxFormSize+1)
server.go#L596: n0, err := io.CopyBuffer(writerOnly{w}, io.LimitReader(src, sniffLen), buf)
transfer.go#L370: ncopy, err = t.doBodyCopy(w, io.LimitReader(body, t.ContentLength))
transfer.go#L568: t.Body = &body{src: io.LimitReader(r, realLength), closing: t.Close}
nhooyr.io/websocket
dial.go#L137: r := io.LimitReader(respBody, 1024)
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |