// Copyright (c) 2010 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be found in the AUTHORS file in the root of the source tree. #include "mkvparser/mkvreader.h" #include <sys/types.h> #include <cassert> namespace mkvparser { MkvReader::MkvReader() : … { … } MkvReader::MkvReader(FILE* fp) : … { … } MkvReader::~MkvReader() { … } int MkvReader::Open(const char* fileName) { … } bool MkvReader::GetFileSize() { … } void MkvReader::Close() { … } int MkvReader::Length(long long* total, long long* available) { … } int MkvReader::Read(long long offset, long len, unsigned char* buffer) { … } } // namespace mkvparser