package
1.4.0
Repository: https://github.com/krotik/eliasdb.git
Documentation: pkg.go.dev

# Functions

AvailableSize returns the available size of a slot.
CurrentSize returns the current size of a slot.
LocationOffset returns the offset from a location.
LocationRecord retirms the record id from a location.
NormalizeSlotSize normalizes a given slot size.
PackLocation packs location information into an uint64.
SetAvailableSize sets the available size of a slot.
SetCurrentSize sets the current size of a slot.

# Constants

LocationSize is the size of a location in bytes */.
MaxAvailableSizeDifference represents the maximal size of the difference between available size and current size */.
MaxOffsetValue is the maximum offset value for a location (32767).
MaxRecordValue is the maximum record value (2^48 / 2 - 1) 6 byte = 48 bits */.
OffetAvailableSize is the offset for the available size on a slotsize header.
OffsetCurrentSize is the offset for the size on a slotsize header.
SizeInfoSize represents the size of the size info */.
UnsignedShortMax is the maximum value of an unsigned short as used for slotsizes.