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

Method marshal

handshake_messages.go:1645–1649  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1643type serverHelloDoneMsg struct{}
1644
1645func (m *serverHelloDoneMsg) marshal() ([]byte, error) {
1646 x := make([]byte, 4)
1647 x[0] = typeServerHelloDone
1648 return x, nil
1649}
1650
1651func (m *serverHelloDoneMsg) unmarshal(data []byte) bool {
1652 return len(data) == 4

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected