DG

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Header blocks.Header
	Link   Link
	Data   Data
}

func New

func New(file *os.File, startAdress int64) *Block

func (*Block) BlankBlock

func (b *Block) BlankBlock() *Block

func (*Block) FirstChannelGroup

func (b *Block) FirstChannelGroup() int64

func (*Block) GetRecordIDSize added in v0.0.2

func (b *Block) GetRecordIDSize() uint8

func (*Block) IsSorted added in v0.0.2

func (b *Block) IsSorted() bool

IsSorted checks if is Sorted `True`. Else `False` if it is Unsorted

func (*Block) MetadataComment

func (b *Block) MetadataComment() int64

func (*Block) Next

func (b *Block) Next() int64

type Data

type Data struct {
	RecIDSize uint8
	Reserved  [7]byte
}
type Link struct {
	Next      int64
	CgFirst   int64
	Data      int64
	MdComment int64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL