MCPcopy
hub / github.com/openacid/slim / U64

Struct U64

encode/int.go:72–72  ·  view source on GitHub ↗

U64 converts uint64 to slice of 8 bytes and back.

Source from the content-addressed store, hash-verified

70
71// U64 converts uint64 to slice of 8 bytes and back.
72type U64 struct{}
73
74// Encode converts uint64 to slice of 8 bytes.
75func (c U64) Encode(d interface{}) []byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected