func io.ReadFull

101 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#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/ecdh
		nist.go#L50: 		if _, err := io.ReadFull(rand, key); err != nil {
		x25519.go#L38: 	if _, err := io.ReadFull(rand, key); err != nil {

	crypto/ecdsa
		ecdsa.go#L206: 		if _, err = io.ReadFull(rand, b); err != nil {
		ecdsa.go#L427: 	if _, err := io.ReadFull(rand, entropy); err != nil {
		ecdsa_legacy.go#L177: 		if _, err = io.ReadFull(rand, b); err != nil {

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

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

	crypto/rand
		rand.go#L26: 	return io.ReadFull(Reader, b)
		rand_unix.go#L72: 	return io.ReadFull(r.f, b)
		util.go#L32: 		if _, err := io.ReadFull(rand, bytes); err != nil {
		util.go#L85: 		_, err = io.ReadFull(rand, bytes)

	crypto/rsa
		pkcs1v15.go#L234: 	_, err = io.ReadFull(random, s)
		pkcs1v15.go#L241: 			_, err = io.ReadFull(random, s[i:i+1])
		pss.go#L329: 	if _, err := io.ReadFull(rand, salt); err != nil {
		rsa.go#L187: 			if _, err := io.ReadFull(rand, plaintext); err != nil {
		rsa.go#L553: 	_, err := io.ReadFull(random, seed)

	crypto/tls
		common.go#L887: 		if _, err := io.ReadFull(c.rand(), c.SessionTicketKey[:]); err != nil {
		common.go#L949: 		if _, err := io.ReadFull(c.rand(), newKey[:]); err != nil {
		conn.go#L498: 			if _, err := io.ReadFull(rand, explicitNonce); err != nil {
		handshake_client.go#L112: 	_, err := io.ReadFull(config.rand(), hello.random)
		handshake_client.go#L124: 		if _, err := io.ReadFull(config.rand(), hello.sessionId); err != nil {
		handshake_server.go#L206: 	_, err := io.ReadFull(c.config.rand(), serverRandom)
		handshake_server_tls13.go#L133: 	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#L330: 	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#L237: 		if _, err := io.ReadFull(r, bs); err != nil {
		binary.go#L327: 	if _, err := io.ReadFull(r, d.buf); err != nil {

	fmt
		scan.go#L321: 	n, err := io.ReadFull(r.reader, r.pendBuf[:1])

	github.com/gotd/td/internal/crypto
		cipher_encrypt.go#L18: 	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#L49: 	if _, err := io.ReadFull(randomSource, dataWithPadding[len(data):]); err != nil {
		rsa_pad.go#L62: 		if _, err := io.ReadFull(randomSource, tempKey); err != nil {
		session_id.go#L13: 	if _, err := io.ReadFull(reader, bytes); err != nil {

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

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

	github.com/gotd/td/internal/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/internal/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#L69: 	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#L603: 	nr, err := io.ReadFull(f.r, f.buf[offBytes:4])
		inflate.go#L638: 	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 {

	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 {

	mime/multipart
		writer.go#L86: 	_, err := io.ReadFull(rand.Reader, buf[:])

	net
		dnsclient_unix.go#L134: 	if _, err := io.ReadFull(c, b[:2]); err != nil {
		dnsclient_unix.go#L141: 	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#L241: 			n, _ := io.ReadFull(content, buf[:])
		h2_bundle.go#L1635: 	_, err := io.ReadFull(r, buf[:http2frameHeaderLen])
		h2_bundle.go#L1907: 	if _, err := io.ReadFull(fr.r, payload); err != nil {
		h2_bundle.go#L4880: 		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 {

	nhooyr.io/websocket
		dial.go#L218: 	_, err := io.ReadFull(rr, b)
		frame.go#L80: 		_, err = io.ReadFull(r, readBuf[:2])
		frame.go#L83: 		_, err = io.ReadFull(r, readBuf)
		frame.go#L95: 		_, err = io.ReadFull(r, readBuf[:4])
		read.go#L246: 	n, err := io.ReadFull(c.br, p)
		write.go#L297: 		_, err = io.ReadFull(rand.Reader, c.writeHeaderBuf[:4])