MCPcopy Create free account
hub / github.com/corestoreio/pkg / encodeAll

Function encodeAll

storage/objcache/service.go:153–170  ·  view source on GitHub ↗

Encode encodes all items to their byte slice representation. Returns two slices whose indexes match to the other. The data might be appended to the optional arguments `keys` and `values`.

(codec Codecer, ri *rawItems[K], defaultExpire time.Duration, keys []K, src []any, expires []time.Duration)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SetMultiMethod · 0.85

Calls 2

encodeOneFunction · 0.85
BytesMethod · 0.45

Tested by

no test coverage detected