vendor/golang.org/x/crypto/cryptobyte.String.ReadBytes (method)

7 uses

	vendor/golang.org/x/crypto/cryptobyte (current package)
		asn1.go#L817: 	if int(length) < 0 || !s.ReadBytes((*[]byte)(out), int(length)) {
		string.go#L160: func (s *String) ReadBytes(out *[]byte, n int) bool {

	crypto/tls
		ech.go#L286: 	if !innerReader.ReadBytes(&versionAndRandom, 2+32) ||
		handshake_messages.go#L423: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
		handshake_messages.go#L534: 			extData.ReadBytes(&m.sessionTicket, len(extData))
		handshake_messages.go#L666: 			if !extData.ReadBytes(&m.encryptedClientHello, len(extData)) {
		handshake_messages.go#L876: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||