| 64 | }; |
| 65 | |
| 66 | class ByteStreamInArrayLE : public ByteStreamInArray |
| 67 | { |
| 68 | public: |
| 69 | ByteStreamInArrayLE(); |
| 70 | ByteStreamInArrayLE(const U8* data, I64 size); |
| 71 | /* read 16 bit low-endian field */ |
| 72 | void get16bitsLE(U8* bytes); |
| 73 | /* read 32 bit low-endian field */ |
| 74 | void get32bitsLE(U8* bytes); |
| 75 | /* read 64 bit low-endian field */ |
| 76 | void get64bitsLE(U8* bytes); |
| 77 | /* read 16 bit big-endian field */ |
| 78 | void get16bitsBE(U8* bytes); |
| 79 | /* read 32 bit big-endian field */ |
| 80 | void get32bitsBE(U8* bytes); |
| 81 | /* read 64 bit big-endian field */ |
| 82 | void get64bitsBE(U8* bytes); |
| 83 | private: |
| 84 | U8 swapped[8] = {0}; |
| 85 | }; |
| 86 | |
| 87 | class ByteStreamInArrayBE : public ByteStreamInArray |
| 88 | { |
nothing calls this directly
no outgoing calls
no test coverage detected