Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public ID3v1tag(Form1 f, myFile file, bool isPresent)
 {
     myForm          = f;
     sourceData      = file.getAllBytes();
     alreadyHasID3v1 = isPresent;
 }