func io.ReadFull
65 uses
io (current package)
io.go#L353: func ReadFull(r Reader, buf []byte) (n int, err error) {
compress/flate
inflate.go#L630: nr, err := io.ReadFull(f.r, f.buf[0:4])
inflate.go#L661: 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#L261: if _, err := io.ReadFull(z.r, z.buf[:8]); err != nil {
crypto/dsa
dsa.go#L105: if _, err := io.ReadFull(rand, qBytes); err != nil {
dsa.go#L118: if _, err := io.ReadFull(rand, pBytes); err != nil {
dsa.go#L177: _, err := io.ReadFull(rand, xBytes)
dsa.go#L235: _, err = io.ReadFull(rand, buf)
crypto/ecdh
x25519.go#L43: if _, err := io.ReadFull(rand, key); err != nil {
crypto/ecdsa
ecdsa_legacy.go#L92: if _, err := io.ReadFull(csprng, seed[:]); err != nil {
ecdsa_legacy.go#L204: if _, err = io.ReadFull(rand, b); err != nil {
crypto/ed25519
ed25519.go#L143: if _, err := io.ReadFull(rand, seed); err != nil {
crypto/elliptic
elliptic.go#L82: _, err = io.ReadFull(rand, priv)
crypto/internal/fips140/drbg
rand.go#L81: _, err := io.ReadFull(r, b)
rand.go#L94: _, err := io.ReadFull(r, b)
crypto/rand
rand.go#L75: _, err = io.ReadFull(Reader, bb)
util.go#L36: if _, err := io.ReadFull(rand, bytes); err != nil {
util.go#L90: _, err = io.ReadFull(rand, bytes)
crypto/rsa
pkcs1v15.go#L253: _, err = io.ReadFull(random, s)
pkcs1v15.go#L260: _, err = io.ReadFull(random, s[i:i+1])
rsa.go#L185: if _, err := io.ReadFull(rand, plaintext); err != nil {
crypto/tls
common.go#L986: if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
common.go#L1048: if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
conn.go#L502: if _, err := io.ReadFull(rand, explicitNonce); err != nil {
handshake_client.go#L117: _, err := io.ReadFull(config.rand(), hello.random)
handshake_client.go#L129: if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
handshake_client.go#L168: if _, err := io.ReadFull(config.rand(), seed); err != nil {
handshake_client.go#L309: _, err = io.ReadFull(c.config.rand(), hello.random)
handshake_server.go#L236: _, err := io.ReadFull(c.config.rand(), serverRandom)
handshake_server_tls13.go#L149: if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
key_agreement.go#L85: _, err := io.ReadFull(config.rand(), preMasterSecret[2:])
ticket.go#L331: if _, err := io.ReadFull(c.rand(), iv); err != nil {
crypto/x509
pem_decrypt.go#L201: if _, err := io.ReadFull(rand, iv); err != nil {
encoding/binary
binary.go#L262: if _, err := io.ReadFull(r, bs); err != nil {
binary.go#L286: if _, err := io.ReadFull(r, d.buf); err != nil {
fmt
scan.go#L321: n, err := io.ReadFull(r.reader, r.pendBuf[:1])
go.pact.im/x/crypt
argon2.go#L99: _, err := io.ReadFull(c.rand, salt)
golang.org/x/net/http2
frame.go#L242: _, err := io.ReadFull(r, buf[:frameHeaderLen])
frame.go#L517: if _, err := io.ReadFull(fr.r, payload); err != nil {
server.go#L1136: if _, err := io.ReadFull(sc.conn, buf); err != nil {
golang.org/x/tools/go/gcexportdata
gcexportdata.go#L130: _, err := io.ReadFull(lr, data)
golang.org/x/tools/internal/gcimporter
exportdata.go#L152: _, err = io.ReadFull(r, data)
exportdata.go#L159: _, err = io.ReadFull(r, suffix[:])
iimport.go#L786: io.ReadFull(&r.declReader, b)
support.go#L20: if _, err := io.ReadFull(b, buf[:]); err != nil {
google.golang.org/grpc/internal/transport
http2_server.go#L310: if _, err := io.ReadFull(t.conn, preface); err != nil {
internal/sysinfo
cpuinfo_linux.go#L22: _, err = io.ReadFull(f, buf)
mime/multipart
writer.go#L87: _, err := io.ReadFull(rand.Reader, buf[:])
net
dnsclient_unix.go#L142: if _, err := io.ReadFull(c, b[:2]); err != nil {
dnsclient_unix.go#L149: 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#L287: n, _ := io.ReadFull(content, buf[:])
h2_bundle.go#L1805: _, err := io.ReadFull(r, buf[:http2frameHeaderLen])
h2_bundle.go#L2080: if _, err := io.ReadFull(fr.r, payload); err != nil {
h2_bundle.go#L5187: 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#L106: if _, cr.err = io.ReadFull(cr.r, cr.buf[:2]); cr.err == nil {