kgm

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrKgmMagicHeader = errors.New("kgm/vpr magic header not matched")
)

Functions

func NewDecoder

func NewDecoder(file []byte) common.Decoder

Types

type Decoder

type Decoder struct {
	// contains filtered or unexported fields
}

func (*Decoder) Decode

func (d *Decoder) Decode() error

func (Decoder) GetAudioData

func (d Decoder) GetAudioData() []byte

func (Decoder) GetAudioExt

func (d Decoder) GetAudioExt() string

func (Decoder) GetCoverImage

func (d Decoder) GetCoverImage() []byte

func (Decoder) GetMeta

func (d Decoder) GetMeta() common.Meta

func (*Decoder) Validate

func (d *Decoder) Validate() error

Jump to

Keyboard shortcuts

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