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

Method marshal

handshake_messages.go:1814–1816  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1812}
1813
1814func (*helloRequestMsg) marshal() []byte {
1815 return []byte{typeHelloRequest, 0, 0, 0}
1816}
1817
1818func (*helloRequestMsg) unmarshal(data []byte) bool {
1819 return len(data) == 4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected