func bytes.NewReader
16 uses
bytes (current package)
reader.go#L159: func NewReader(b []byte) *Reader { return &Reader{b, 0, -1} }
encoding/json
stream.go#L84: return bytes.NewReader(dec.buf[dec.scanp:])
github.com/gotd/td/internal/proto
gzip.go#L151: r, err := gzipRWPool.GetReader(bytes.NewReader(buf))
github.com/gotd/td/transport
detect_codec.go#L31: buffered := bytes.NewReader(buf[:])
obfuscated.go#L62: tag = bytes.NewReader(md.Protocol[:1])
obfuscated.go#L64: tag = bytes.NewReader(md.Protocol[:])
websocket.go#L55: tag = bytes.NewReader(md.Protocol[:1])
websocket.go#L57: tag = bytes.NewReader(md.Protocol[:])
github.com/klauspost/compress/flate
token.go#L334: var buf = bytes.NewReader(b)
math/big
intmarsh.go#L58: if _, ok := z.setFromScanner(bytes.NewReader(text), 0); !ok {
mime
encodedword.go#L335: r, err := d.CharsetReader(strings.ToLower(charset), bytes.NewReader(content))
mime/multipart
formdata.go#L270: r := io.NewSectionReader(bytes.NewReader(b), 0, int64(len(b)))
net/http
request.go#L904: r := bytes.NewReader(buf)
response.go#L283: io.MultiReader(bytes.NewReader(buf[:1]), r.Body),
nhooyr.io/websocket
accept.go#L148: brw.Reader.Reset(io.MultiReader(bytes.NewReader(b), netConn))
dial.go#L146: resp.Body = io.NopCloser(bytes.NewReader(b))
|
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. |