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

Method unmarshal

handshake_messages.go:1458–1465  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

1456}
1457
1458func (m *serverKeyExchangeMsg) unmarshal(data []byte) bool {
1459 m.raw = data
1460 if len(data) < 4 {
1461 return false
1462 }
1463 m.key = data[4:]
1464 return true
1465}
1466
1467type certificateStatusMsg struct {
1468 raw []byte

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected