func io.ReadFull
77 uses
io (current package)
io.go#L349: func ReadFull(r Reader, buf []byte) (n int, err error) {
compress/flate
inflate.go#L629: nr, err := io.ReadFull(f.r, f.buf[0:4])
inflate.go#L660: cnt, err := io.ReadFull(f.r, buf)
compress/gzip
gunzip.go#L175: if _, err = io.ReadFull(z.r, z.buf[:10]); err != nil {
gunzip.go#L199: if _, err = io.ReadFull(z.r, z.buf[:2]); err != nil {
gunzip.go#L204: if _, err = io.ReadFull(z.r, data); err != nil {
gunzip.go#L227: if _, err = io.ReadFull(z.r, z.buf[:2]); err != nil {
gunzip.go#L260: if _, err := io.ReadFull(z.r, z.buf[:8]); err != nil {
crypto/dsa
dsa.go#L100: if _, err := io.ReadFull(rand, qBytes); err != nil {
dsa.go#L113: if _, err := io.ReadFull(rand, pBytes); err != nil {
dsa.go#L168: _, err := io.ReadFull(rand, xBytes)
dsa.go#L222: _, err = io.ReadFull(rand, buf)
crypto/ecdsa
ecdsa.go#L132: _, err = io.ReadFull(rand, b)
ecdsa.go#L210: _, err = io.ReadFull(rand, entropy)
crypto/ed25519
ed25519.go#L101: if _, err := io.ReadFull(rand, seed); err != nil {
crypto/elliptic
elliptic.go#L339: _, err = io.ReadFull(rand, priv)
crypto/rand
rand.go#L25: return io.ReadFull(Reader, b)
rand_unix.go#L130: _, err := io.ReadFull(r.entropy, r.seed[0:])
rand_unix.go#L134: _, err = io.ReadFull(r.entropy, r.key[0:])
util.go#L48: _, err = io.ReadFull(rand, bytes)
util.go#L129: _, err = io.ReadFull(rand, bytes)
crypto/rsa
pkcs1v15.go#L179: _, err = io.ReadFull(rand, s)
pkcs1v15.go#L186: _, err = io.ReadFull(rand, s[i:i+1])
pss.go#L278: if _, err := io.ReadFull(rand, salt); err != nil {
rsa.go#L167: if _, err := io.ReadFull(rand, plaintext); err != nil {
rsa.go#L432: _, err := io.ReadFull(random, seed)
crypto/tls
common.go#L841: if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
common.go#L903: if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
conn.go#L492: if _, err := io.ReadFull(rand, explicitNonce); err != nil {
handshake_client.go#L107: _, err := io.ReadFull(config.rand(), hello.random)
handshake_client.go#L115: if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
handshake_server.go#L203: _, err := io.ReadFull(c.config.rand(), serverRandom)
handshake_server_tls13.go#L128: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
key_agreement.go#L84: _, err := io.ReadFull(config.rand(), preMasterSecret[2:])
key_schedule.go#L115: if _, err := io.ReadFull(rand, privateKey); err != nil {
ticket.go#L129: if _, err := io.ReadFull(c.config.rand(), iv); err != nil {
crypto/x509
pem_decrypt.go#L201: if _, err := io.ReadFull(rand, iv); err != nil {
encoding/binary
binary.go#L166: if _, err := io.ReadFull(r, bs); err != nil {
binary.go#L256: if _, err := io.ReadFull(r, d.buf); err != nil {
fmt
scan.go#L321: n, err := io.ReadFull(r.reader, r.pendBuf[:1])
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream
decode.go#L173: _, err := io.ReadFull(r, b[:])
decode.go#L180: _, err := io.ReadFull(r, bs)
decode.go#L190: _, err := io.ReadFull(r, bs)
decode.go#L200: _, err := io.ReadFull(r, bs)
header.go#L98: if _, err := io.ReadFull(r, name); err != nil {
header_value.go#L133: _, err := io.ReadFull(r, buf)
header_value.go#L146: _, err = io.ReadFull(r, buf)
github.com/aws/smithy-go/rand
uuid.go#L43: if _, err := io.ReadFull(r.randSrc, b[:]); err != nil {
uuid.go#L54: if _, err = io.ReadFull(r.randSrc, u); err != nil {
github.com/go-pg/pg/v10
pg.go#L158: _, err := io.ReadFull(rd, b)
github.com/go-pg/pg/v10/internal/pool
reader_buf.go#L413: _, err := io.ReadFull(b, buf)
github.com/vmihailenco/msgpack/v5
decode.go#L594: _, err := io.ReadFull(d.r, b)
decode.go#L634: _, err := io.ReadFull(r, b)
decode.go#L644: _, err := io.ReadFull(r, b[pos:])
go.pact.im/x/crypt
argon2.go#L98: _, err := io.ReadFull(c.rand, salt)
golang.org/x/net/http2
frame.go#L237: _, err := io.ReadFull(r, buf[:frameHeaderLen])
frame.go#L506: if _, err := io.ReadFull(fr.r, payload); err != nil {
server.go#L1058: if _, err := io.ReadFull(sc.conn, buf); err != nil {
golang.org/x/tools/go/gcexportdata
gcexportdata.go#L94: _, err := io.ReadFull(lr, data)
golang.org/x/tools/internal/gcimporter
exportdata.go#L22: _, err = io.ReadFull(r, hdr)
iimport.go#L685: io.ReadFull(&r.declReader, b)
google.golang.org/grpc/internal/transport
http2_server.go#L304: if _, err := io.ReadFull(t.conn, preface); err != nil {
transport.go#L479: return io.ReadFull(s.trReader, p)
mime/multipart
writer.go#L86: _, err := io.ReadFull(rand.Reader, buf[:])
net
dnsclient_unix.go#L117: if _, err := io.ReadFull(c, b[:2]); err != nil {
dnsclient_unix.go#L124: n, err := io.ReadFull(c, b[:l])
parse.go#L55: n, err := io.ReadFull(f.file, f.data[ln:cap(f.data)])
net/http
fs.go#L239: n, _ := io.ReadFull(content, buf[:])
h2_bundle.go#L1566: _, err := io.ReadFull(r, buf[:http2frameHeaderLen])
h2_bundle.go#L1838: if _, err := io.ReadFull(fr.r, payload); err != nil {
h2_bundle.go#L4700: if _, err := io.ReadFull(sc.conn, buf); err != nil {
socks_bundle.go#L74: if _, ctxErr = io.ReadFull(c, b[:2]); ctxErr != nil {
socks_bundle.go#L115: if _, ctxErr = io.ReadFull(c, b[:4]); ctxErr != nil {
socks_bundle.go#L137: if _, err := io.ReadFull(c, b[:1]); err != nil {
socks_bundle.go#L149: if _, ctxErr = io.ReadFull(c, b); ctxErr != nil {
socks_bundle.go#L461: if _, err := io.ReadFull(rw, b[:2]); err != nil {
net/http/internal
chunked.go#L79: if _, cr.err = io.ReadFull(cr.r, cr.buf[:2]); cr.err == nil {