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

Method readField

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

Identical to getField, but add lengthBits to readIndex.

Source from the content-addressed store, hash-verified

341
342 // Identical to getField, but add lengthBits to readIndex.
343 uint64_t readField(size_t& readIndex, unsigned lengthBits) const {
344 uint64_t result = getField(readIndex,lengthBits);
345 readIndex += lengthBits;
346 return result;
347 }
348
349 void appendField(uint64_t value,unsigned lengthBits);
350 // This works for Field<> data types.

Callers 15

parseMACMethod · 0.80
parseRLCHeaderMethod · 0.80
parseMethod · 0.80
parseElementMethod · 0.80
parseBodyMethod · 0.80
skipLVMethod · 0.80
skipTLVMethod · 0.80
parseLVMethod · 0.80
skipExtendedOctetsMethod · 0.80
parseVMethod · 0.80
parseVMethod · 0.80
parseVMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected