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

Method writeV

GSM/GSML3Message.cpp:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void L3OctetAlignedProtocolElement::writeV(L3Frame&dest, size_t&wp) const {
288 const unsigned char *data = peData();
289 for (unsigned i = mData.size(); i > 0; i--) {
290 dest.writeField(wp,*data++,8);
291 }
292}
293
294// expectedLength is in BYTES!
295void L3OctetAlignedProtocolElement::parseV(const L3Frame&src, size_t&rp, size_t expectedLength) {

Callers 3

writeBodyMethod · 0.45
writeBodyMethod · 0.45
writeBodyMethod · 0.45

Calls 2

sizeMethod · 0.45
writeFieldMethod · 0.45

Tested by

no test coverage detected