Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/CodisLabs/codis
/ NewEncoderBuffer
Function
NewEncoderBuffer
pkg/proxy/redis/encoder.go:62–64 ·
view source on GitHub ↗
(bw *bufio2.Writer)
Source
from the content-addressed store, hash-verified
60
}
61
62
func
NewEncoderBuffer(bw *bufio2.Writer) *Encoder {
63
return
&Encoder{bw: bw}
64
}
65
66
func
(e *Encoder) Encode(r *Resp, flush bool) error {
67
if
e.Err != nil {
Callers
3
newConnEncoder
Function · 0.85
NewEncoder
Function · 0.85
NewEncoderSize
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected