MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / MarshalBinary

Method MarshalBinary

crypto/asymmetric/keypair.go:66–68  ·  view source on GitHub ↗

MarshalBinary does the serialization.

()

Source from the content-addressed store, hash-verified

64
65// MarshalBinary does the serialization.
66func (k *PublicKey) MarshalBinary() (keyBytes []byte, err error) {
67 return k.Serialize(), nil
68}
69
70// UnmarshalBinary does the deserialization.
71func (k *PublicKey) UnmarshalBinary(keyBytes []byte) (err error) {

Callers 2

MarshalHashMethod · 0.95

Calls 1

SerializeMethod · 0.95

Tested by 1