Lines Matching defs:StreamBuffer
32 #define MMI_LOG_TAG "StreamBuffer"
36 class StreamBuffer {
38 StreamBuffer() = default;
39 DISALLOW_MOVE(StreamBuffer);
40 virtual ~StreamBuffer() = default;
41 explicit StreamBuffer(const StreamBuffer &buf);
42 virtual StreamBuffer &operator=(const StreamBuffer &other);
51 bool Read(StreamBuffer &buf);
52 bool Write(const StreamBuffer &buf);
79 StreamBuffer &operator >> (T &data);
81 StreamBuffer &operator << (const T &data);
84 bool Clone(const StreamBuffer &buf);
102 bool StreamBuffer::Read(T &data)
113 bool StreamBuffer::Write(const T &data)
124 bool StreamBuffer::Read(std::vector<T> &data)
147 bool StreamBuffer::Write(const std::vector<T> &data)
168 StreamBuffer &StreamBuffer::operator>>(T &data)
177 StreamBuffer &StreamBuffer::operator<<(const T &data)