func io.ReadFull
57 uses
io (current package)
io.go#L346: 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#L136: _, err = io.ReadFull(rand, b)
ecdsa.go#L209: _, err = io.ReadFull(rand, entropy)
crypto/ed25519
ed25519.go#L104: if _, err := io.ReadFull(rand, seed); err != nil {
crypto/elliptic
elliptic.go#L292: _, err = io.ReadFull(rand, priv)
crypto/rand
rand.go#L24: 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#L805: if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
common.go#L867: if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
conn.go#L484: if _, err := io.ReadFull(rand, explicitNonce); err != nil {
handshake_client.go#L103: _, err := io.ReadFull(config.rand(), hello.random)
handshake_client.go#L111: if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
handshake_server.go#L199: _, err := io.ReadFull(c.config.rand(), serverRandom)
handshake_server_tls13.go#L126: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
key_agreement.go#L65: _, 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#L202: 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 {
encoding/gob
decode.go#L120: n, err := io.ReadFull(r, buf[0:width])
decode.go#L133: width, err = io.ReadFull(r, buf[0:n])
decoder.go#L102: _, dec.err = io.ReadFull(dec.r, dec.buf.Bytes())
fmt
scan.go#L321: n, err := io.ReadFull(r.reader, r.pendBuf[:1])
mime/multipart
writer.go#L86: _, err := io.ReadFull(rand.Reader, buf[:])
net
dnsclient_unix.go#L112: if _, err := io.ReadFull(c, b[:2]); err != nil {
dnsclient_unix.go#L119: 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#L1477: _, err := io.ReadFull(r, buf[:http2frameHeaderLen])
h2_bundle.go#L1743: if _, err := io.ReadFull(fr.r, payload); err != nil {
h2_bundle.go#L4536: 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 {