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

Method head

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

pat 2-2012: I am modifying this to use the refcnts, so to get a segment with an incremented refcnt, use: alias().segment(...) ByteVector alias() { return segment(0,size()); }

Source from the content-addressed store, hash-verified

251 // a segment with an incremented refcnt, use: alias().segment(...)
252 //ByteVector alias() { return segment(0,size()); }
253 ByteVector head(size_t span) const { return segment(0,span); }
254 //const ByteVector headTemp(size_t span) const { return segmentTemp(0,span); }
255 ByteVector tail(size_t start) const { return segment(start,size()-start); }
256 //const ByteVector tailTemp(size_t start) const { return segmentTemp(start,size()-start); }

Callers 13

engineFillBlockMethod · 0.80
GprsDecoderMethod · 0.80
writeLowSideRxMethod · 0.80
SharedL1DecoderMethod · 0.80
handleGoodFrameMethod · 0.80
SharedL1EncoderMethod · 0.80
SCHL1EncoderMethod · 0.80
setAmrModeMethod · 0.80
decodeTCH_GSMMethod · 0.80
sendFrameMethod · 0.80
RACHL1DecoderMethod · 0.80
sndcpWriteLowSideMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected