public ID3v2tag(Form1 f, myFile file, int major, bool isPresent) { version = major; frameHeaderLength = 6; frameTypeAndSizeLength = 3; if (version > 2) { frameHeaderLength = 10; frameTypeAndSizeLength = 4; } myForm = f; sourceData = file.getAllBytes(); alreadyHasID3v2 = isPresent; }
public ID3v1tag(Form1 f, myFile file, bool isPresent) { myForm = f; sourceData = file.getAllBytes(); alreadyHasID3v1 = isPresent; }