This is a two byte length indicator as per GSM 08.16 10.1.2
| 248 | |
| 249 | // This is a two byte length indicator as per GSM 08.16 10.1.2 |
| 250 | void ByteVector::appendLI(unsigned len) |
| 251 | { |
| 252 | if (len < 255) { |
| 253 | appendByte(len | 0x80); |
| 254 | } else { |
| 255 | BVASSERT(len <= 32767); |
| 256 | appendByte(0x7f&(len>>8)); |
| 257 | appendByte(0xff&(len>>8)); |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | // The inverse of trimRight. Like an append but the new area is uninitialized. |
| 262 | void ByteVector::growRight(unsigned amt) |
no outgoing calls
no test coverage detected