| 57 | } |
| 58 | |
| 59 | void ByteVector::clear() |
| 60 | { |
| 61 | if (mData) { |
| 62 | #if BYTEVECTOR_REFCNT |
| 63 | if (decRefCnt() <= 0) { delete[] mData; RN_MEMCHKDEL(ByteVectorData) } |
| 64 | #else |
| 65 | delete[] mData; |
| 66 | #endif |
| 67 | } |
| 68 | mSizeBits = 0; |
| 69 | mData = NULL; |
| 70 | } |
| 71 | |
| 72 | void ByteVector::init(size_t size) |
| 73 | { |
no outgoing calls
no test coverage detected