public ID3v2QuickInfo(ID3v2 id3) { if (id3 == null) { throw new ArgumentNullException("id3"); } _id3 = id3; }
private static ID3v2 FromStream(Stream stream, bool readData) { ID3v2 id3v2 = new ID3v2(stream); if (id3v2.ReadData(stream, readData)) { return(id3v2); } return(null); }
public static ID3v2 FromStream(Stream stream) { try { ID3v2 id3v2 = new ID3v2(stream); if (id3v2.ReadData(stream, true)) { return(id3v2); } } catch (Exception) { return(null); } return(null); }