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

Method getNibble

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

Source from the content-addressed store, hash-verified

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]; }
272 ByteType getNibble(size_t ind,int hi) const {
273 ByteType val = getByte(ind); return hi ? (val>>4) : val & 0xf;
274 }
275
276 unsigned getUInt16(size_t readIndex) const; // 2 byte value
277 unsigned getUInt32(size_t readIndex) const; // 4 byte value

Callers 5

dumpNibbleMethod · 0.80
L3GprsMsgType2NameFunction · 0.80
gmmParseBodyMethod · 0.80
parseElementMethod · 0.80
handleL3MsgFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected