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

Method setAppendP

GPRS/ByteVector.h:140–144  ·  view source on GitHub ↗

Set the Write Position for appends. This is equivalent to setting size().

Source from the content-addressed store, hash-verified

138
139 // Set the Write Position for appends. This is equivalent to setting size().
140 void setAppendP(size_t bytep, unsigned bitp=0) {
141 BVASSERT(bytep + !!bitp <= allocSize());
142 mSizeBits = bytep*8 + bitp;
143 //mEnd=mStart+bytep; mBitInd=bitp;
144 }
145 void setSizeBits(size_t bits) {
146 BVASSERT((bits+7)/8 <= allocSize());
147 mSizeBits = bits;

Callers 10

ByteVectorTestFunction · 0.80
addUpPDUMethod · 0.80
engineFillBlockMethod · 0.80
NsFactoryFunction · 0.80
BVCFactoryFunction · 0.80
decodeIMMethod · 0.80
sgsnCliFindFunction · 0.80
handleXidFunction · 0.80
flushMethod · 0.80
sgsnWriteHighSideMsgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected