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

Struct Int

encode/nativeint.go:9–9  ·  view source on GitHub ↗

Int converts int to slice of bytes and back.

Source from the content-addressed store, hash-verified

7
8// Int converts int to slice of bytes and back.
9type Int struct{}
10
11// Encode converts int to slice of bytes.
12func (c Int) Encode(d interface{}) []byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected