chromium/third_party/webrtc/rtc_base/memory_stream.cc

/*
 *  Copyright 2018 The WebRTC 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 "rtc_base/memory_stream.h"

#include <errno.h>
#include <string.h>

#include <algorithm>

#include "rtc_base/checks.h"

namespace rtc {

StreamState MemoryStream::GetState() const {}

StreamResult MemoryStream::Read(rtc::ArrayView<uint8_t> buffer,
                                size_t& bytes_read,
                                int& error) {}

StreamResult MemoryStream::Write(rtc::ArrayView<const uint8_t> buffer,
                                 size_t& bytes_written,
                                 int& error) {}

void MemoryStream::Close() {}

bool MemoryStream::SetPosition(size_t position) {}

bool MemoryStream::GetPosition(size_t* position) const {}

void MemoryStream::Rewind() {}

bool MemoryStream::GetSize(size_t* size) const {}

bool MemoryStream::ReserveSize(size_t size) {}

///////////////////////////////////////////////////////////////////////////////

MemoryStream::MemoryStream() {}

MemoryStream::~MemoryStream() {}

void MemoryStream::SetData(const void* data, size_t length) {}

StreamResult MemoryStream::DoReserve(size_t size, int* error) {}

}  // namespace rtc