| 69 | }; |
| 70 | |
| 71 | class ByteStreamOutArrayLE : public ByteStreamOutArray |
| 72 | { |
| 73 | public: |
| 74 | ByteStreamOutArrayLE(I64 alloc=4096); |
| 75 | /* write 16 bit low-endian field */ |
| 76 | BOOL put16bitsLE(const U8* bytes); |
| 77 | /* write 32 bit low-endian field */ |
| 78 | BOOL put32bitsLE(const U8* bytes); |
| 79 | /* write 64 bit low-endian field */ |
| 80 | BOOL put64bitsLE(const U8* bytes); |
| 81 | /* write 16 bit big-endian field */ |
| 82 | BOOL put16bitsBE(const U8* bytes); |
| 83 | /* write 32 bit big-endian field */ |
| 84 | BOOL put32bitsBE(const U8* bytes); |
| 85 | /* write 64 bit big-endian field */ |
| 86 | BOOL put64bitsBE(const U8* bytes); |
| 87 | private: |
| 88 | U8 swapped[8] = {0}; |
| 89 | }; |
| 90 | |
| 91 | class ByteStreamOutArrayBE : public ByteStreamOutArray |
| 92 | { |
nothing calls this directly
no outgoing calls
no test coverage detected