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

Method Marshal

handshake_messages.go:18–20  ·  view source on GitHub ↗
(b *cryptobyte.Builder)

Source from the content-addressed store, hash-verified

16type marshalingFunction func(b *cryptobyte.Builder) error
17
18func (f marshalingFunction) Marshal(b *cryptobyte.Builder) error {
19 return f(b)
20}
21
22// addBytesWithLength appends a sequence of bytes to the cryptobyte.Builder. If
23// the length of the sequence is not the value specified, it produces an error.

Callers 1

PublicKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected