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 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.
Click to show internal directories.
Click to hide internal directories.