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

5 uses

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

	crypto/tls
		handshake_messages.go#L374: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
		handshake_messages.go#L484: 			extData.ReadBytes(&m.sessionTicket, len(extData))
		handshake_messages.go#L778: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||