GSM04.60 10.0b.3.1: Note that fields in RLC blocks use network order, meaning most significant byte first (cause they started on Sun workstations.) It is faster to use htons, etc, than unpacking these ourselves.
| 319 | // meaning most significant byte first (cause they started on Sun workstations.) |
| 320 | // It is faster to use htons, etc, than unpacking these ourselves. |
| 321 | void ByteVector::setUInt16(size_t writeIndex,unsigned value) { // 2 byte value |
| 322 | BVASSERT(writeIndex <= size() - 2); |
| 323 | sethtons(&mStart[writeIndex],value); |
| 324 | } |
| 325 | |
| 326 | void ByteVector::setUInt32(size_t writeIndex, unsigned value) { // 4 byte value |
| 327 | BVASSERT(writeIndex <= size() - 4); |
nothing calls this directly
no test coverage detected