MCPcopy Index your code
hub / github.com/CodisLabs/codis / Decode

Function Decode

pkg/proxy/redis/decoder.go:106–108  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

104}
105
106func Decode(r io.Reader) (*Resp, error) {
107 return NewDecoder(r).Decode()
108}
109
110func DecodeFromBytes(p []byte) (*Resp, error) {
111 return NewDecoder(bytes.NewReader(p)).Decode()

Callers

nothing calls this directly

Calls 2

NewDecoderFunction · 0.85
DecodeMethod · 0.80

Tested by

no test coverage detected