SR

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

func (*Block) BlankBlock

func (b *Block) BlankBlock() *Block

type Data

type Data struct {
	//Number of cycles
	CycleCount uint64

	//Length of sample interval
	Interval float64
	SyncType uint8
	Flags    uint8
	Reserved [6]byte
}
type Link struct {
	//Pointer to next SRBLOCK
	Next int64

	//Pointer to sample reduction records or data list block
	Data int64
}

Jump to

Keyboard shortcuts

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