Home | History | Annotate | Download | only in base

Lines Matching defs:ByteBuffer

28 #include "talk/base/bytebuffer.h"
41 ByteBuffer::ByteBuffer() {
48 ByteBuffer::ByteBuffer(const char* bytes, size_t len) {
56 ByteBuffer::ByteBuffer(const char* bytes) {
64 ByteBuffer::~ByteBuffer() {
68 bool ByteBuffer::ReadUInt8(uint8* val) {
74 bool ByteBuffer::ReadUInt16(uint16* val) {
86 bool ByteBuffer::ReadUInt24(uint32* val) {
98 bool ByteBuffer::ReadUInt32(uint32* val) {
110 bool ByteBuffer::ReadUInt64(uint64* val) {
122 bool ByteBuffer::ReadString(std::string* val, size_t len) {
134 bool ByteBuffer::ReadBytes(char* val, size_t len) {
144 void ByteBuffer::WriteUInt8(uint8 val) {
148 void ByteBuffer::WriteUInt16(uint16 val) {
153 void ByteBuffer::WriteUInt24(uint32 val) {
158 void ByteBuffer::WriteUInt32(uint32 val) {
163 void ByteBuffer::WriteUInt64(uint64 val) {
168 void ByteBuffer::WriteString(const std::string& val) {
172 void ByteBuffer::WriteBytes(const char* val, size_t len) {
180 void ByteBuffer::Resize(size_t size) {
195 void ByteBuffer::Consume(size_t size) {
202 void ByteBuffer::Shift(size_t size) {