MCPcopy Create free account
hub / github.com/chain/txvm / String

Method String

crypto/ed25519/ecmath/point_serialization.go:19–21  ·  view source on GitHub ↗

String returns hex representation of a EC point

()

Source from the content-addressed store, hash-verified

17
18// String returns hex representation of a EC point
19func (p *Point) String() string {
20 return hex.EncodeToString(p.Bytes())
21}
22
23// MarshalBinary encodes the receiver into a binary form and returns the result (32-byte slice).
24func (p *Point) MarshalBinary() ([]byte, error) {

Callers

nothing calls this directly

Calls 1

BytesMethod · 0.95

Tested by

no test coverage detected