| 1303 | |
| 1304 | |
| 1305 | sal_Int16 BinaryInput::readInt16() |
| 1306 | { |
| 1307 | sal_Int16 nRet = 0; |
| 1308 | if( m_nCurPos + 2 <= m_nSize ) |
| 1309 | { |
| 1310 | nRet = nRet + sal_Int16( sal_uInt8( m_pData[m_nCurPos++] ) ); |
| 1311 | nRet += 256 * sal_Int16( sal_uInt8( m_pData[m_nCurPos++] ) ); |
| 1312 | } |
| 1313 | else |
| 1314 | OSL_FAIL( "BinaryInput::readInt16(): Read past end" ); |
| 1315 | |
| 1316 | return nRet; |
| 1317 | } |
| 1318 | |
| 1319 | sal_Int32 BinaryInput::readInt32() |
| 1320 | { |
no outgoing calls
no test coverage detected