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); }