private void ReadTimeStampAndFormatIndex(Chunk tsChunk, out int timeStamp, out int formatIdx) { byte[] tsIdxBytes = tsChunk.ReadChunkBytes(0, sizeof(int) * 2); timeStamp = ChunkReader.BigEndianBytesToInt32(tsIdxBytes, 0); formatIdx = ChunkReader.BigEndianBytesToInt32(tsIdxBytes, sizeof(int)); }