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

Struct I32

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

I32 converts int32 to slice of 4 bytes and back.

Source from the content-addressed store, hash-verified

134
135// I32 converts int32 to slice of 4 bytes and back.
136type I32 struct{}
137
138// Encode converts int32 to slice of 4 bytes.
139func (c I32) Encode(d interface{}) []byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected