Documentation ¶
Overview ¶
Package data provides routines for interpreting byte slices to []T without a copy.
Index ¶
- Variables
- 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
Constants ¶
This section is empty.
Variables ¶
View Source
var BitmapMarger = &pebble.Merger{ Merge: func(key, value []byte) (pebble.ValueMerger, error) { ra := roaring.FromBufferWithCopy(value) return ra, nil }, Name: "vince.BitmapMerger", }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.