MCPcopy Create free account
hub / github.com/distributedio/titan / Decoder

Interface Decoder

encoding/codec.go:14–20  ·  view source on GitHub ↗

Decoder defines the interface of a RESP decoder

Source from the content-addressed store, hash-verified

12
13//Decoder defines the interface of a RESP decoder
14type Decoder interface {
15 Error() (string, error)
16 SimpleString() (string, error)
17 BulkString() (string, error)
18 Integer() (int64, error)
19 Array(each func([]byte)) (int, error)
20}

Callers 6

TestError_DecodeFunction · 0.95
TestSimpleString_DecodeFunction · 0.95
TestArray_DecodeFunction · 0.95
TestBulkString_DecodeFunction · 0.95
TestArray_DecodeFunction · 0.95
TestInteger_DecodeFunction · 0.95

Implementers 2

Encoderencoding/resp/resp.go
Decoderencoding/resp/resp.go

Calls

no outgoing calls

Tested by

no test coverage detected