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

Method encodeMultiBulk

pkg/proxy/redis/encoder.go:128–133  ·  view source on GitHub ↗
(multi []*Resp)

Source from the content-addressed store, hash-verified

126}
127
128func (e *Encoder) encodeMultiBulk(multi []*Resp) error {
129 if err := e.bw.WriteByte(byte(TypeArray)); err != nil {
130 return errors.Trace(err)
131 }
132 return e.encodeArray(multi)
133}
134
135func (e *Encoder) encodeTextBytes(b []byte) error {
136 if _, err := e.bw.Write(b); err != nil {

Callers 1

EncodeMultiBulkMethod · 0.95

Calls 2

encodeArrayMethod · 0.95
WriteByteMethod · 0.80

Tested by

no test coverage detected