MCPcopy
hub / github.com/grafana/dskit / Decode

Method Decode

kv/codec/codec.go:10–10  ·  view source on GitHub ↗
([]byte)

Source from the content-addressed store, hash-verified

8// Codec allows KV clients to serialise and deserialise values.
9type Codec interface {
10 Decode([]byte) (interface{}, error)
11 Encode(interface{}) ([]byte, error)
12
13 // CodecID is a short identifier to communicate what codec should be used to decode the value.

Callers 15

GetMultiWithErrorMethod · 0.65
DecodeMethod · 0.65
CASMethod · 0.65
WatchKeyMethod · 0.65
WatchPrefixMethod · 0.65
GetMethod · 0.65
casMethod · 0.65
WatchKeyMethod · 0.65
WatchPrefixMethod · 0.65
GetMethod · 0.65
DecodeMethod · 0.65

Implementers 5

stringCodeckv/client_test.go
Protokv/codec/codec.go
Stringkv/codec/codec.go
dataCodeckv/memberlist/memberlist_client_test.g
distributedCounterCodeckv/memberlist/memberlist_client_test.g

Calls

no outgoing calls

Tested by 6

DecodeMethod · 0.52
DecodeMethod · 0.52
testLoadOverridesFunction · 0.52