Documentation ¶
Index ¶
Constants ¶
View Source
const MaxHandleEncodedLength = 2 * binary.MaxVarintLen64
Variables ¶
View Source
var ErrCorruptBlock = errors.New("leveldb: corrupt block")
Functions ¶
func EncodeHandle ¶
Types ¶
type Block ¶
type Block struct {
// contains filtered or unexported fields
}
func (*Block) NewIterator ¶
func (b *Block) NewIterator(cmp keys.Comparator) iterator.Iterator
type Handle ¶
func DecodeHandle ¶
type Writer ¶
type Writer struct { RestartInterval int // contains filtered or unexported fields }
func (*Writer) ApproximateSize ¶
Click to show internal directories.
Click to hide internal directories.