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

Method readUInt16

GPRS/ByteVector.cpp:347–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 return ntohs(tmp);
346}
347unsigned ByteVector::readUInt16(size_t &rp) {
348 unsigned result = getUInt16(rp);
349 rp+=2;
350 return result;
351}
352
353unsigned ByteVector::getUInt32(size_t readIndex) const { // 4 byte value
354 BVASSERT(readIndex <= size() - 4);

Callers 2

gmParseIEsMethod · 0.80
gmmParseBodyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected