Documentation ¶
Overview ¶
Package data provides routines for interpreting byte slices to []T without a copy.
Index ¶
- func Bytes[T any](in []T) []byte
- func Data[T any](in []byte) []T
- func Get(db *pebble.DB, key []byte, value func(val []byte) error) error
- func Has(db *pebble.DB, key []byte) bool
- func Open(path string, o *pebble.Options) (*pebble.DB, error)
- func Prefix(db *pebble.DB, prefix []byte, f func(key, value []byte) error) error
- func Range(it *pebble.Iterator, lo, hi []byte, f func(key []byte, ra *ro2.Bitmap) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.