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

9 uses

	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 {

	github.com/refraction-networking/utls
		ech.go#L295: 	if !innerReader.ReadBytes(&versionAndRandom, 2+32) ||
		handshake_messages.go#L454: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
		handshake_messages.go#L565: 			extData.ReadBytes(&m.sessionTicket, len(extData))
		handshake_messages.go#L697: 			if !extData.ReadBytes(&m.encryptedClientHello, len(extData)) {
		handshake_messages.go#L911: 		!s.ReadUint16(&m.vers) || !s.ReadBytes(&m.random, 32) ||
		u_pre_shared_key.go#L413: 		if !s.ReadBytes(&identity, int(identityLength)) {
		u_pre_shared_key.go#L450: 		if !s.ReadBytes(&binder, int(binderLength)) {