Documentation ¶
Index ¶
Constants ¶
View Source
const (
MetaInfoSize = keySize + valueSize + checksumSize + ttlSize
)
Variables ¶
This section is empty.
Functions ¶
func DecodeEntry ¶
DecodeEntry decodes a serialized entry
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder wraps an underlying io.Reader and allows you to stream Entry decodings on it.
func NewDecoder ¶
NewDecoder creates a streaming Entry decoder.
Click to show internal directories.
Click to hide internal directories.