func io.ReadFull

135 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 {

	compress/zlib
		reader.go#L106: 	if _, err := io.ReadFull(z.r, z.scratch[0:4]); err != nil {
		reader.go#L142: 	_, z.err = io.ReadFull(z.r, z.scratch[0:2])
		reader.go#L156: 		_, z.err = io.ReadFull(z.r, z.scratch[0:4])

	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#L239: 			_, err = io.ReadFull(random, buf)

	crypto/ecdh
		x25519.go#L43: 	if _, err := io.ReadFull(r, key); err != nil {

	crypto/ecdsa
		ecdsa_legacy.go#L97: 	if _, err := io.ReadFull(csprng, seed[:]); err != nil {
		ecdsa_legacy.go#L209: 		if _, err = io.ReadFull(rand, b); err != nil {

	crypto/ed25519
		ed25519.go#L164: 	if _, err := io.ReadFull(random, seed); err != nil {

	crypto/elliptic
		elliptic.go#L82: 		_, err = io.ReadFull(rand, priv)

	crypto/internal/fips140/drbg
		rand.go#L109: 	_, err := io.ReadFull(r, b)

	crypto/rand
		rand.go#L54: 			_, err = io.ReadFull(boring.RandReader, b)
		rand.go#L60: 		_, err = io.ReadFull(Reader, bb)
		util.go#L40: 		if _, err := io.ReadFull(r, bytes); err != nil {
		util.go#L94: 		_, err = io.ReadFull(rand, bytes)

	crypto/rsa
		pkcs1v15.go#L271: 	_, err = io.ReadFull(random, s)
		pkcs1v15.go#L278: 			_, err = io.ReadFull(random, s[i:i+1])
		rsa.go#L188: 			if _, err := io.ReadFull(rand, plaintext); err != nil {

	crypto/tls
		common.go#L1060: 		if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
		common.go#L1123: 		if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
		conn.go#L499: 			if _, err := io.ReadFull(rand, explicitNonce); err != nil {
		handshake_client.go#L104: 	_, err := io.ReadFull(config.rand(), hello.random)
		handshake_client.go#L116: 		if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
		handshake_client.go#L265: 		_, err = io.ReadFull(c.config.rand(), hello.random)
		handshake_server.go#L251: 	_, err := io.ReadFull(c.config.rand(), serverRandom)
		handshake_server_tls13.go#L150: 	if _, err := io.ReadFull(c.config.rand(), hs.hello.random); err != nil {
		key_agreement.go#L86: 	_, err := io.ReadFull(config.rand(), preMasterSecret[2:])
		key_schedule.go#L181: 	if _, err := io.ReadFull(rand, seed); err != nil {
		ticket.go#L336: 	if _, err := io.ReadFull(c.rand(), iv); err != nil {

	crypto/x509
		pem_decrypt.go#L201: 	if _, err := io.ReadFull(rand, iv); err != nil {
		x509.go#L1691: 		if _, err := io.ReadFull(rand, serialBytes); 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])

	github.com/coder/websocket
		dial.go#L235: 	_, err := io.ReadFull(rr, b)
		frame.go#L79: 		_, err = io.ReadFull(r, readBuf[:2])
		frame.go#L82: 		_, err = io.ReadFull(r, readBuf)
		frame.go#L94: 		_, err = io.ReadFull(r, readBuf[:4])
		read.go#L282: 	n, err := io.ReadFull(c.br, p)
		write.go#L331: 		_, err = io.ReadFull(rand.Reader, c.writeHeaderBuf[:4])

	github.com/gotd/td/crypto
		bind.go#L126: 	if _, err := io.ReadFull(rand, random); err != nil {
		bind.go#L143: 		if _, err := io.ReadFull(rand, plaintext.Buf[offset:]); err != nil {
		cipher_encrypt.go#L37: 	if _, err := io.ReadFull(c.rand, randByte[:]); err != nil {
		cipher_encrypt.go#L41: 	if _, err := io.ReadFull(c.rand, plaintext.Buf[offset:]); err != nil {
		data_with_hash.go#L51: 	if _, err := io.ReadFull(randomSource, dataWithHash[sha1.Size+len(data):]); err != nil {
		rand.go#L24: 	if _, err := io.ReadFull(randSource, buf[:]); err != nil {
		rand.go#L36: 	if _, err := io.ReadFull(randSource, buf[:]); err != nil {
		rand.go#L48: 	if _, err := io.ReadFull(randSource, buf[:]); err != nil {
		rsa_hashed.go#L23: 	if _, err := io.ReadFull(randomSource, dataWithHash[:]); err != nil {
		rsa_pad.go#L47: 	if _, err := io.ReadFull(randomSource, dataWithPadding[len(data):]); err != nil {
		rsa_pad.go#L60: 		if _, err := io.ReadFull(randomSource, tempKey); err != nil {
		session_id.go#L13: 	if _, err := io.ReadFull(reader, bytes); err != nil {

	github.com/gotd/td/crypto/srp
		new_hash.go#L46: 	if _, err := io.ReadFull(s.random, newClientSalt[len(newClientSalt)-32:]); err != nil {

	github.com/gotd/td/mtproxy/faketls
		record.go#L26: 	if _, err := io.ReadFull(r, buf); err != nil {
		record.go#L47: 	if _, err := io.ReadFull(r, rec.Data); err != nil {

	github.com/gotd/td/mtproxy/obfuscated2
		keys_util.go#L32: 		_, err = io.ReadFull(randSource, init[:])
		server.go#L20: 	if _, err := io.ReadFull(conn, buf); err != nil {

	github.com/gotd/td/proto/codec
		abridged.go#L38: 	if _, err := io.ReadFull(r, b[:]); err != nil {
		abridged.go#L122: 	_, err := io.ReadFull(r, b.Buf[:1])
		abridged.go#L128: 		_, err := io.ReadFull(r, b.Buf[0:3])
		abridged.go#L140: 	if _, err := io.ReadFull(r, b.Buf); err != nil {
		codec.go#L34: 	if _, err := io.ReadFull(r, b.Buf[:bin.Word]); err != nil {
		full.go#L90: 	if _, err := io.ReadFull(r, inner.Buf); err != nil {
		intermediate.go#L37: 	if _, err := io.ReadFull(r, b[:]); err != nil {
		intermediate.go#L105: 	if _, err := io.ReadFull(r, b.Buf); err != nil {
		padded_intermediate.go#L38: 	if _, err := io.ReadFull(r, b[:]); err != nil {
		padded_intermediate.go#L88: 	_, err := io.ReadFull(randSource, b.Buf[length:length+4])

	github.com/gotd/td/session/tdesktop
		file.go#L76: 	if _, err := io.ReadFull(r, buf[:8]); err != nil {

	github.com/gotd/td/transport
		detect_codec.go#L14: 	if _, err := io.ReadFull(c, buf[:1]); err != nil {
		detect_codec.go#L22: 	if _, err := io.ReadFull(c, buf[1:4]); err != nil {

	github.com/klauspost/compress/flate
		inflate.go#L613: 	nr, err := io.ReadFull(f.r, f.buf[offBytes:4])
		inflate.go#L651: 	cnt, err := io.ReadFull(f.r, buf)

	github.com/klauspost/compress/gzip
		gunzip.go#L184: 	if _, err = io.ReadFull(z.r, z.buf[:10]); err != nil {
		gunzip.go#L204: 		if _, err = io.ReadFull(z.r, z.buf[:2]); err != nil {
		gunzip.go#L209: 		if _, err = io.ReadFull(z.r, data); err != nil {
		gunzip.go#L232: 		if _, err = io.ReadFull(z.r, z.buf[:2]); err != nil {
		gunzip.go#L271: 		if _, err := io.ReadFull(z.r, z.buf[:8]); err != nil {
		gunzip.go#L345: 		if _, err := io.ReadFull(z.r, z.buf[0:8]); err != nil {

	github.com/klauspost/compress/internal/snapref
		decode.go#L112: 	if _, r.err = io.ReadFull(r.r, p); r.err != nil {

	github.com/klauspost/compress/zstd
		bytebuf.go#L86: 	n2, err := io.ReadFull(r.r, r.tmp[:n])
		bytebuf.go#L104: 	n2, err := io.ReadFull(r.r, dst[:n])
		bytebuf.go#L112: 	n2, err := io.ReadFull(r.r, r.tmp[:1])
		frameenc.go#L135: 	_, err := io.ReadFull(r, dst[start:])
		snappy.go#L403: 	if _, r.err = io.ReadFull(r.r, p); r.err != nil {

	github.com/refraction-networking/utls
		common.go#L1046: 		if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
		common.go#L1108: 		if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
		conn.go#L503: 			if _, err := io.ReadFull(rand, explicitNonce); err != nil {
		handshake_client.go#L121: 	_, err := io.ReadFull(config.rand(), hello.random)
		handshake_client.go#L133: 		if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
		handshake_client.go#L172: 			if _, err := io.ReadFull(config.rand(), seed); err != nil {
		handshake_client.go#L313: 		_, err = io.ReadFull(c.config.rand(), hello.random)
		handshake_server.go#L240: 	_, err := io.ReadFull(c.config.rand(), serverRandom)
		handshake_server_tls13.go#L150: 	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 {
		u_handshake_client.go#L243: 	_, err := io.ReadFull(config.rand(), hello.random)
		u_handshake_client.go#L255: 		if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
		u_handshake_client.go#L477: 		_, err = io.ReadFull(c.config.rand(), hello.random)
		u_parrots.go#L2791: 		_, err := io.ReadFull(uconn.config.rand(), hello.Random)
		u_parrots.go#L2809: 	_, err = io.ReadFull(uconn.config.rand(), grease_bytes)
		u_parrots.go#L2835: 		_, err = io.ReadFull(uconn.config.rand(), sessionID[:])
		u_parrots.go#L2893: 					if _, err := io.ReadFull(uconn.config.rand(), seed); err != nil {
		u_prng.go#L50: 	_, err := io.ReadFull(
		u_prng.go#L115: 	_, _ = io.ReadFull(p.randomStream, b)

	golang.org/x/net/internal/socks
		client.go#L68: 	if _, ctxErr = io.ReadFull(c, b[:2]); ctxErr != nil {
		client.go#L109: 	if _, ctxErr = io.ReadFull(c, b[:4]); ctxErr != nil {
		client.go#L131: 		if _, err := io.ReadFull(c, b[:1]); err != nil {
		client.go#L143: 	if _, ctxErr = io.ReadFull(c, b); ctxErr != nil {
		socks.go#L305: 		if _, err := io.ReadFull(rw, b[:2]); err != nil {

	internal/saferio
		io.go#L37: 		_, err := io.ReadFull(r, buf)
		io.go#L51: 		_, err := io.ReadFull(r, buf1[:next])

	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#L292: 			n, _ := io.ReadFull(content, buf[:])
		h2_bundle.go#L1805: 	_, err := io.ReadFull(r, buf[:http2frameHeaderLen])
		h2_bundle.go#L2096: 	if _, err := io.ReadFull(fr.r, payload); err != nil {
		h2_bundle.go#L5120: 		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 {