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

Method Serialization

core/states/storage_key.go:34–37  ·  view source on GitHub ↗
(sink *common.ZeroCopySink)

Source from the content-addressed store, hash-verified

32}
33
34func (this *StorageKey) Serialization(sink *common.ZeroCopySink) {
35 this.ContractAddress.Serialization(sink)
36 sink.WriteVarBytes(this.Key)
37}
38
39func (this *StorageKey) Deserialization(source *common.ZeroCopySource) error {
40 if err := this.ContractAddress.Deserialization(source); err != nil {

Callers 1

Calls 2

WriteVarBytesMethod · 0.80
SerializationMethod · 0.65

Tested by 1