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

Method appendByte

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

4 byte value

Source from the content-addressed store, hash-verified

266 void setUInt16(size_t writeIndex,unsigned value); // 2 byte value
267 void setUInt32(size_t writeIndex, unsigned value); // 4 byte value
268 void appendByte(unsigned value) { BVASSERT(bitind()==0); setByte(grow(1),value); }
269 void appendUInt16(unsigned value) { BVASSERT(bitind()==0); setUInt16(grow(2),value); }
270 void appendUInt32(unsigned value) { BVASSERT(bitind()==0); setUInt32(grow(4),value); }
271 ByteType getByte(size_t ind) const { BVASSERT(ind < size()); return mStart[ind]; }

Callers 15

engineFillBlockMethod · 0.80
qosAppendMethod · 0.80
NsAddCauseFunction · 0.80
NsAddBVCIFunction · 0.80
NsAddVCIFunction · 0.80
NsAddNSEIFunction · 0.80
NsFactoryFunction · 0.80
BVCAddBVCIFunction · 0.80
BVCAddCauseFunction · 0.80
BVCAddTagFunction · 0.80
BVCAddCellIdentifierFunction · 0.80
BVCFactoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected