NCM class

Example:

final ncm = NCM();
final raw = await File('a.ncm').readAsBytes();
final target = await File('a.mp3').readAsBytes();
ncm.setRaw(raw);
ncm.parse();
// music data
print(ncm.music);

Constructors

NCM.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
image Uint8List
getter/setter pair
key Uint8List
getter/setter pair
meta ↔ Meta
getter/setter pair
music Uint8List
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse() → void
Parse raw data. If _raw is not set, please call setRaw first.
setRaw(Uint8List raw) → void
Set raw data. raw must be a valid NCM file bytes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited