Versions in this module Expand all Collapse all v0 v0.5.1 Jan 15, 2023 Changes in this version + const WDB2 + const WDBC + func LocStringSize(v vsn.Build) (int, error) + type DB struct + Build vsn.Build + Table []*Table + func NewDB(v vsn.Build) *DB + func (d *DB) Open(name string, reader io.Reader) (*Table, error) + type FileHeader struct + Build uint32 + CopyTableSize uint32 + FieldCount uint32 + MaxID uint32 + MinID uint32 + RecordCount uint32 + RecordSize uint32 + StringBlockSize uint32 + TableHash uint32 + TimestampLastWritten uint32 + Version string + type Table struct + DB *DB + Definition *dbd.Definition + Header FileHeader + Layout *dbd.Layout + Name string + Records []byte + StringBlock []byte + func (t *Table) Append(recordSlice interface{}) error + func (t *Table) ID(id int, ent interface{}) error + func (t *Table) Index(i int, ent interface{}) error + func (t *Table) Len() int + func (t *Table) Range(handler interface{}) error + func (t *Table) SizeCount(v vsn.Build) (int, int, error) + func (t *Table) StringRef(i int) (string, error) + type WDB2Header struct + Build uint32 + CopyTableSize uint32 + FieldCount uint32 + MaxID uint32 + MinID uint32 + RecordCount uint32 + RecordSize uint32 + StringBlockSize uint32 + TableHash uint32 + TimestampLastWritten uint32 + type WDBCHeader struct + FieldCount uint32 + RecordCount uint32 + RecordSize uint32 + StringBlockSize uint32