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

Method Serialization

smartcontract/service/native/governance/param.go:865–867  ·  view source on GitHub ↗
(sink *common.ZeroCopySink)

Source from the content-addressed store, hash-verified

863}
864
865func (this *GasAddress) Serialization(sink *common.ZeroCopySink) {
866 utils.EncodeAddress(sink, this.Address)
867}
868
869func (this *GasAddress) Deserialization(source *common.ZeroCopySource) error {
870 address, err := utils.DecodeAddress(source)

Callers

nothing calls this directly

Calls 1

EncodeAddressFunction · 0.92

Tested by

no test coverage detected