| 85 | }; |
| 86 | |
| 87 | class ByteStreamInArrayBE : public ByteStreamInArray |
| 88 | { |
| 89 | public: |
| 90 | ByteStreamInArrayBE(); |
| 91 | ByteStreamInArrayBE(const U8* data, I64 size); |
| 92 | /* read 16 bit low-endian field */ |
| 93 | void get16bitsLE(U8* bytes); |
| 94 | /* read 32 bit low-endian field */ |
| 95 | void get32bitsLE(U8* bytes); |
| 96 | /* read 64 bit low-endian field */ |
| 97 | void get64bitsLE(U8* bytes); |
| 98 | /* read 16 bit big-endian field */ |
| 99 | void get16bitsBE(U8* bytes); |
| 100 | /* read 32 bit big-endian field */ |
| 101 | void get32bitsBE(U8* bytes); |
| 102 | /* read 64 bit big-endian field */ |
| 103 | void get64bitsBE(U8* bytes); |
| 104 | private: |
| 105 | U8 swapped[8] = {0}; |
| 106 | }; |
| 107 | |
| 108 | inline ByteStreamInArray::ByteStreamInArray() |
| 109 | { |
nothing calls this directly
no outgoing calls
no test coverage detected