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

Struct Dummy

encode/dummy.go:4–6  ·  view source on GitHub ↗

Dummy converts anything to nothing.

Source from the content-addressed store, hash-verified

2
3// Dummy converts anything to nothing.
4type Dummy struct {
5 Size int
6}
7
8// Encode converts something to empty byte slice.
9func (c Dummy) Encode(d interface{}) []byte {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected