chromium/third_party/webrtc/rtc_base/byte_buffer.cc

/*
 *  Copyright 2004 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/byte_buffer.h"

#include <string.h>

namespace rtc {

ByteBufferWriter::ByteBufferWriter() :{}

ByteBufferWriter::ByteBufferWriter(const uint8_t* bytes, size_t len)
    :{}

ByteBufferReader::ByteBufferReader(rtc::ArrayView<const uint8_t> bytes) {}

ByteBufferReader::ByteBufferReader(const ByteBufferWriter& buf) {}

void ByteBufferReader::Construct(const uint8_t* bytes, size_t len) {}

bool ByteBufferReader::ReadUInt8(uint8_t* val) {}

bool ByteBufferReader::ReadUInt16(uint16_t* val) {}

bool ByteBufferReader::ReadUInt24(uint32_t* val) {}

bool ByteBufferReader::ReadUInt32(uint32_t* val) {}

bool ByteBufferReader::ReadUInt64(uint64_t* val) {}

bool ByteBufferReader::ReadUVarint(uint64_t* val) {}

bool ByteBufferReader::ReadString(std::string* val, size_t len) {}

bool ByteBufferReader::ReadStringView(absl::string_view* val, size_t len) {}

bool ByteBufferReader::ReadBytes(rtc::ArrayView<uint8_t> val) {}

// Private function supporting the other Read* functions.
bool ByteBufferReader::ReadBytes(uint8_t* val, size_t len) {}

bool ByteBufferReader::Consume(size_t size) {}

}  // namespace rtc