Home
last modified time | relevance | path

Searched refs:CBuffer (Results 1 – 1 of 1) sorted by relevance

/external/lzma/CPP/Common/
DMyBuffer.h11 template <class T> class CBuffer
27 CBuffer(): _items(0), _size(0) {}; in CBuffer() function
28 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; } in CBuffer() function
29 CBuffer(const CBuffer &buffer): _items(0), _size(0) in CBuffer() function
40 ~CBuffer() { delete []_items; } in ~CBuffer()
94 CBuffer& operator=(const CBuffer &buffer)
103 bool operator==(const CBuffer<T>& b1, const CBuffer<T>& b2)
114 bool operator!=(const CBuffer<T>& b1, const CBuffer<T>& b2)
127 typedef CBuffer<unsigned char> CByteBuffer;