| 1094 | } |
| 1095 | |
| 1096 | void BinaryOutput::writeInt32( sal_Int32 n ) |
| 1097 | { |
| 1098 | if( !m_xOutputStream.is() ) |
| 1099 | return; |
| 1100 | |
| 1101 | Sequence< sal_Int8 > aSeq( 4 ); |
| 1102 | sal_Int8* p = aSeq.getArray(); |
| 1103 | |
| 1104 | for( sal_Int16 i = 0 ; i < 4 ; i++ ) |
| 1105 | { |
| 1106 | p[i] = sal_Int8( n & 0xff ); |
| 1107 | n >>= 8; |
| 1108 | } |
| 1109 | m_xOutputStream->writeBytes( aSeq ); |
| 1110 | } |
| 1111 | |
| 1112 | void BinaryOutput::writeString( const OUString& aStr ) |
| 1113 | { |
no test coverage detected