MCPcopy Create free account
hub / github.com/DNAProject/DNA / ToHexString

Method ToHexString

common/address.go:42–44  ·  view source on GitHub ↗

ToHexString returns hex string representation of Address

()

Source from the content-addressed store, hash-verified

40
41// ToHexString returns hex string representation of Address
42func (self *Address) ToHexString() string {
43 return fmt.Sprintf("%x", ToArrayReverse(self[:]))
44}
45
46// Serialize serialize Address into io.Writer
47func (self *Address) Serialization(sink *ZeroCopySink) {

Callers

nothing calls this directly

Calls 1

ToArrayReverseFunction · 0.85

Tested by

no test coverage detected