ZooperAudioFile.decode constructor

ZooperAudioFile.decode(
  1. List<int> bytes
)

Decodes a List of int to a ZooperAudioFile

Implementation

ZooperAudioFile.decode(List<int> bytes) {
  _id3v1tag = Id3v1Tag.decode(bytes);
  _id3v2tag = Id3v2Tag.decode(bytes, 0);
  _audioData = _getAudioData(bytes, _id3v1tag, _id3v2tag);
}