| 128 | } |
| 129 | |
| 130 | void |
| 131 | G4OutBitStream::SetByte(u_char dat) |
| 132 | { |
| 133 | if( mWriteFlag ){ |
| 134 | FullBit(); |
| 135 | *mBuf = dat; |
| 136 | IncBuf(); |
| 137 | return; |
| 138 | } |
| 139 | throw( G4BufferError( "SetByte" ) ); |
| 140 | } |
| 141 | |
| 142 | void |
| 143 | G4OutBitStream::SetWord(u_int dat) |
no test coverage detected