Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ SerializeToBytes
Function
SerializeToBytes
common/codec.go:27–34 ·
view source on GitHub ↗
(values ...Serializable)
Source
from the content-addressed store, hash-verified
25
}
26
27
func
SerializeToBytes(values ...Serializable) []byte {
28
sink := NewZeroCopySink(nil)
29
for
_, val :=
range
values {
30
val.Serialization(sink)
31
}
32
33
return
sink.Bytes()
34
}
Callers
15
ToArray
Method · 0.92
ToArray
Method · 0.92
BuildWasmVMInvokeCode
Function · 0.92
ToArray
Method · 0.92
ToArray
Method · 0.92
ToArray
Method · 0.92
GenWasmTransaction
Function · 0.92
SigNativeInvokeTx
Function · 0.92
Serialize
Method · 0.92
CallContract
Function · 0.92
putRoleFunc
Function · 0.92
putDIDToken
Function · 0.92
Calls
3
Bytes
Method · 0.95
NewZeroCopySink
Function · 0.85
Serialization
Method · 0.65
Tested by
1
makeTransfer
Function · 0.74