MCPcopy
hub / github.com/CodisLabs/codis / NewDecoderBuffer

Function NewDecoderBuffer

pkg/proxy/redis/decoder.go:80–82  ·  view source on GitHub ↗
(br *bufio2.Reader)

Source from the content-addressed store, hash-verified

78}
79
80func NewDecoderBuffer(br *bufio2.Reader) *Decoder {
81 return &Decoder{br: br}
82}
83
84func (d *Decoder) Decode() (*Resp, error) {
85 if d.Err != nil {

Callers 3

NewDecoderFunction · 0.85
NewDecoderSizeFunction · 0.85
newConnDecoderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected