private Mp3Frame ParseFrame() { Mp3FrameHeader header = ParseHeader(); Mp3FrameData data = null; if (header.Valid) { data = ParseData(header); } else { return(null); } return(new Mp3Frame(header, data)); }
public Mp3Frame(Mp3FrameHeader header, Mp3FrameData data) { this.header = header; this.data = data; }