Used by DB class to hold leveldb raw pointers
Takes reference
Takes reference
Calles free on leveldb raw memory
Slice casting
Get slice as a data type
length or size of slice
Test is slice is valid
Get slice pointer
Create a safe refrence for slicing, good for primitive type constants
Holds a pointer returned from leveldb, or passed to leveldb.
Leveldb memory is freed on destruction.