| Index: webrtc/base/bytebuffer.h
|
| diff --git a/webrtc/base/bytebuffer.h b/webrtc/base/bytebuffer.h
|
| index ad2e552ed6a8389fffffafa2670fa74b7a709a4e..53b36996e37c9dc1ad5bd06ca69cdfcfd0cea2b0 100644
|
| --- a/webrtc/base/bytebuffer.h
|
| +++ b/webrtc/base/bytebuffer.h
|
| @@ -52,6 +52,7 @@ class ByteBuffer {
|
| bool ReadUInt24(uint32_t* val);
|
| bool ReadUInt32(uint32_t* val);
|
| bool ReadUInt64(uint64_t* val);
|
| + bool ReadVarint(uint64_t* val);
|
| bool ReadBytes(char* val, size_t len);
|
|
|
| // Appends next |len| bytes from the buffer to |val|. Returns false
|
| @@ -65,6 +66,7 @@ class ByteBuffer {
|
| void WriteUInt24(uint32_t val);
|
| void WriteUInt32(uint32_t val);
|
| void WriteUInt64(uint64_t val);
|
| + void WriteVarint(uint64_t val);
|
| void WriteString(const std::string& val);
|
| void WriteBytes(const char* val, size_t len);
|
|
|
|
|