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

Method Serialization

common/codec.go:24–24  ·  view source on GitHub ↗
(sink *ZeroCopySink)

Source from the content-addressed store, hash-verified

22
23type Serializable interface {
24 Serialization(sink *ZeroCopySink)
25}
26
27func SerializeToBytes(values ...Serializable) []byte {

Callers 15

GetContractStateFunction · 0.65
transferTxFunction · 0.65
approveTxFunction · 0.65
transferFromTxFunction · 0.65
multiSigToTxFunction · 0.65
sigToTxFunction · 0.65
SigRawTransactionFunction · 0.65
TestSigRawTxFunction · 0.65
SigNeoVMInvokeTxFunction · 0.65
SigMutilRawTransactionFunction · 0.65
SigTransferTransactionFunction · 0.65

Implementers 15

Disconnectedp2pserver/message/types/disconnected.g
NotFoundp2pserver/message/types/notfound.go
Invp2pserver/message/types/inventory.go
VerACKp2pserver/message/types/verack.go
BlocksReqp2pserver/message/types/blocks_req.go
Consensusp2pserver/message/types/consensus.go
Pingp2pserver/message/types/ping.go
AddrReqp2pserver/message/types/address_req.go
RawBlockHeaderp2pserver/message/types/block_header.g
BlkHeaderp2pserver/message/types/block_header.g
HeadersReqp2pserver/message/types/block_headers_
DataReqp2pserver/message/types/data_req.go

Calls

no outgoing calls

Tested by 5

TestSigRawTxFunction · 0.52
TestFixed64_SerializeFunction · 0.52
checkAttributeFunction · 0.52
ctrlAddAttrFunction · 0.52