The inverse of trimLeft
| 268 | |
| 269 | // The inverse of trimLeft |
| 270 | ByteType* ByteVector::growLeft(unsigned amt) |
| 271 | { |
| 272 | ByteType *newstart = mStart - amt; |
| 273 | BVASSERT(newstart >= mData + mDataOffset); |
| 274 | mSizeBits += 8*amt; |
| 275 | return mStart = newstart; |
| 276 | } |
| 277 | |
| 278 | void ByteVector::trimLeft(unsigned amt) |
| 279 | { |