| 469 | |
| 470 | |
| 471 | bool cByteBuffer::ReadLEInt(int & a_Value) |
| 472 | { |
| 473 | CHECK_THREAD; |
| 474 | CheckValid(); |
| 475 | NEEDBYTES(4); |
| 476 | ReadBuf(&a_Value, 4); |
| 477 | |
| 478 | #ifdef IS_BIG_ENDIAN |
| 479 | // Convert: |
| 480 | a_Value = ((a_Value >> 24) & 0xff) | ((a_Value >> 16) & 0xff00) | ((a_Value >> 8) & 0xff0000) | (a_Value & 0xff000000); |
| 481 | #endif |
| 482 | |
| 483 | return true; |
| 484 | } |
| 485 | |
| 486 | |
| 487 |
no outgoing calls
no test coverage detected