Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DMyBuffer.h8 template <class T> class CBuffer
24 CBuffer(): _items(0), _size(0) {}; in CBuffer() function
25 CBuffer(size_t size): _items(0), _size(0) { _items = new T[size]; _size = size; } in CBuffer() function
26 CBuffer(const CBuffer &buffer): _items(0), _size(0) in CBuffer() function
37 ~CBuffer() { delete []_items; } in ~CBuffer()
91 CBuffer& operator=(const CBuffer &buffer)
100 bool operator==(const CBuffer<T>& b1, const CBuffer<T>& b2)
111 bool operator!=(const CBuffer<T>& b1, const CBuffer<T>& b2)
122 typedef CBuffer<char> CCharBuffer;
124 typedef CBuffer<unsigned char> CByteBuffer;