MCPcopy Create free account
hub / github.com/XTLS/Go / readUint24LengthPrefixed

Function readUint24LengthPrefixed

handshake_messages.go:65–67  ·  view source on GitHub ↗

readUint24LengthPrefixed acts like s.ReadUint24LengthPrefixed, but targets a []byte instead of a cryptobyte.String.

(s *cryptobyte.String, out *[]byte)

Source from the content-addressed store, hash-verified

63// readUint24LengthPrefixed acts like s.ReadUint24LengthPrefixed, but targets a
64// []byte instead of a cryptobyte.String.
65func readUint24LengthPrefixed(s *cryptobyte.String, out *[]byte) bool {
66 return s.ReadUint24LengthPrefixed((*cryptobyte.String)(out))
67}
68
69type clientHelloMsg struct {
70 raw []byte

Callers 4

unmarshalCertificateFunction · 0.85
unmarshalMethod · 0.85
unmarshalMethod · 0.85
unmarshalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…