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

Interface SerializableData

common/serialization/serialize.go:36–42  ·  view source on GitHub ↗

SerializableData describe the data need be serialized.

Source from the content-addressed store, hash-verified

34
35// SerializableData describe the data need be serialized.
36type SerializableData interface {
37 // Write data to writer
38 Serialize(w io.Writer) error
39
40 // read data to reader
41 Deserialize(r io.Reader) error
42}
43
44/*
45 ******************************************************************************

Callers 1

doubleSha256Function · 0.65

Implementers 5

ExportBlockMetadatacmd/utils/export.go
VmValuevm/neovm/types/neovm_value.go
Blockconsensus/vbft/types.go
BlockFetchRespMsgconsensus/vbft/msg_types.go
GovernanceViewsmartcontract/service/native/governanc

Calls

no outgoing calls

Tested by

no test coverage detected