Documentation ¶
Index ¶
- Constants
- Variables
- type Data
- type NcmFile
- func (nf *NcmFile) CheckHaeder() error
- func (nf *NcmFile) Close() error
- func (nf *NcmFile) GetCover() (err error)
- func (nf *NcmFile) GetFDStat() (os.FileInfo, error)
- func (nf *NcmFile) GetKey() (err error)
- func (nf *NcmFile) GetMeta() (err error)
- func (nf *NcmFile) GetMusicData() error
- func (nf *NcmFile) Parse() error
- func (nf *NcmFile) Validate() error
Constants ¶
View Source
const ( MagicHaeder1 = 0x4e455443 MagicHaeder2 = 0x4d414446 )
Variables ¶
View Source
var ErrExtNcm = errors.New("File should have ext ncm!")
View Source
var ErrLength = errors.New("Length of Integer must be 1,2,4 or 8")
View Source
var ErrMagicHeader = errors.New("Magic header does not match!")
View Source
var ErrNcmFormat = errors.New("File is not NCM format!")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.