Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode takes an internal key pair encoding a range deletion and returns a decoded keyspan containing the key. If keysDst is provided, the key will be appended to keysDst, avoiding an allocation.
func DecodeIntoSpan ¶
DecodeIntoSpan decodes an internal key pair encoding a range deletion and appends a key to the given span. The start and end keys must match those in the span.
func Encode ¶
Encode takes a Span containing only range deletions. It invokes the provided closure with the encoded internal keys that represent the Span's state. The keys and values passed to emit are only valid until the closure returns. If emit returns an error, Encode stops and returns the error.
Types ¶
This section is empty.