func io.ReadAtLeast

3 uses

	io (current package)
		io.go#L329: func ReadAtLeast(r Reader, buf []byte, min int) (n int, err error) {
		io.go#L354: 	return ReadAtLeast(r, buf, len(buf))

	github.com/jackc/pgx/v5/pgproto3
		chunkreader.go#L80: 	readBytesCount, err := io.ReadAtLeast(r.r, (*r.buf)[r.wp:], minReadCount)