readFourCC method
Implementation
String readFourCC()
{
ByteData? dataIn = read(4);
if(dataIn == null){
throw 'no more data';
}
Uint8List byteList = Uint8List(4);
for (int i = 0; i < byteList.length; i++)
{
byteList[i] = dataIn.getUint8(i);
}
String out = String.fromCharCodes(byteList);
return out;
}