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

Function I128FromUint64

common/int128.go:56–60  ·  view source on GitHub ↗
(val uint64)

Source from the content-addressed store, hash-verified

54}
55
56func I128FromUint64(val uint64) I128 {
57 var i128 I128
58 binary.LittleEndian.PutUint64(i128[:], val)
59 return i128
60}
61
62func I128FromInt64(val int64) I128 {
63 var i128 I128

Callers 1

BuildWasmContractParamFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected