Versions in this module Expand all Collapse all v0 v0.2.0 Feb 19, 2021 v0.1.0 Feb 12, 2021 Changes in this version + type File struct + PageSize int64 + Pages int64 + Stream io.ReadWriteSeeker + func New(s io.ReadWriteSeeker, pageSize int) (*File, error) + func (f *File) Alloc() (*Page, error) + func (f *File) Read(index int64) (*Page, error) + func (f *File) Write(page *Page) error + type Memory struct + Cursor int + Data []byte + func (m *Memory) Read(p []byte) (int, error) + func (m *Memory) Seek(offset int64, whence int) (int64, error) + func (m *Memory) Write(p []byte) (int, error) + type Page struct + Data []byte + Index int64