MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / growLeft

Method growLeft

GPRS/ByteVector.cpp:270–276  ·  view source on GitHub ↗

The inverse of trimLeft

Source from the content-addressed store, hash-verified

268
269// The inverse of trimLeft
270ByteType* 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
278void ByteVector::trimLeft(unsigned amt)
279{

Callers 1

lleWriteHighSideMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected