EV

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: 7 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, version uint16, startAdress int64) (*Block, error)

Creates a new Block struct and initializes it by reading data from the provided file.

func (*Block) BlankBlock

func (b *Block) BlankBlock() *Block

func (*Block) LoadEvent

func (b *Block) LoadEvent(f *os.File) *Event

func (*Block) Next

func (b *Block) Next() int64

type Data

type Data struct {
	Type      uint8
	SyncType  uint8
	RangeType uint8
	Cause     uint8
	//Version 4.2
	Flags           uint8
	Reserved1       [3]byte
	ScopeCount      uint32
	AttachmentCount uint16
	CreatorIndex    uint16
	SyncBaseValue   int64
	SyncFactor      float64
}

type Event

type Event struct {
	Name    string
	Comment string
	// contains filtered or unexported fields
}
type Link struct {
	Next        int64
	Parent      int64
	Range       int64
	TxName      int64
	MdComment   int64
	Scope       []int64
	ATReference []int64
	//Version 4.2
	TxGroupName int64
}

Jump to

Keyboard shortcuts

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