eqfile

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

eqfile

Documentation

Index

Constants

View Source
const (
	MagicNumber uint32 = 0x45514644
	Version     uint16 = 0x0100
)

Variables

This section is empty.

Functions

func AppendEqFile

func AppendEqFile(filename string, content string) error

AppendEqFile 向一个已存在的.eq文件追加数据,如果文件不存在则创建。

func DeleteEqFile

func DeleteEqFile(fileName string) error

func WriteEqFile

func WriteEqFile(fileName string, content string) error

Types

type EqFile

type EqFile struct {
	Header FileHeader
	Data   []byte
}

func ReadEqFile

func ReadEqFile(fileName string) (*EqFile, error)

type FileHeader

type FileHeader struct {
	MagicNumber uint32
	Version     uint16
	DataSize    uint32
}

func CheckEqFile

func CheckEqFile(file *os.File) (FileHeader, error)

Jump to

Keyboard shortcuts

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