package
0.0.0-20220613080921-65fd79d85952
Repository: https://github.com/xqueries/xdb.git
Documentation: pkg.go.dev

# Functions

DecodeID decodes a page ID from the given bytes.
Load loads the given data into the page.
New creates a new page with the given ID.

# Constants

BodySize is the fixed size of a page's body.
CellTypePointer indicates a PointerCell, which stores a key and an uint32, which points to another page.
CellTypeRecord indicates a RecordCell, which stores a key and a variable size record.
CellTypeUnknown indicates a corrupted page or an incorrectly decoded cell.
Sentinel errors.
Sentinel errors.
Sentinel errors.
HeaderSize is the fixed size of a page's header.
#nosec.
Size is the fix size of a page, which is 16KB or 16384 bytes.
#nosec.

# Structs

Page is a page implementation that does not support overflow pages.
No description provided by the author
No description provided by the author
Slot represents a data slot in the page.

# Interfaces

No description provided by the author

# Type aliases

CellType is the type of a page.
Error is a sentinel error.
ID is the type of a page ID.