| 56 | void StoreFloat(float val); |
| 57 | void StorePackedBits(uint32_t nBits, uint32_t dataBits); |
| 58 | void appendBitStream(BitStream &src) |
| 59 | { |
| 60 | //TODO: optimize this to partial memcopy in special cases ? |
| 61 | uint32_t bits_to_store =src.GetReadableBits(); |
| 62 | while(bits_to_store>32) |
| 63 | { |
| 64 | StoreBits(32,src.uGetBits(32)); |
| 65 | bits_to_store-=32; |
| 66 | } |
| 67 | StoreBits(bits_to_store,src.uGetBits(bits_to_store)); |
| 68 | } |
| 69 | void StoreBitArray(const uint8_t *array,size_t nBits); |
| 70 | void StoreString(const char *str); |
| 71 | void StoreString(const QByteArray &str); |
no test coverage detected