| 89 | }; |
| 90 | |
| 91 | class ByteStreamOutArrayBE : public ByteStreamOutArray |
| 92 | { |
| 93 | public: |
| 94 | ByteStreamOutArrayBE(I64 alloc=4096); |
| 95 | /* write 16 bit low-endian field */ |
| 96 | BOOL put16bitsLE(const U8* bytes); |
| 97 | /* write 32 bit low-endian field */ |
| 98 | BOOL put32bitsLE(const U8* bytes); |
| 99 | /* write 64 bit low-endian field */ |
| 100 | BOOL put64bitsLE(const U8* bytes); |
| 101 | /* write 16 bit big-endian field */ |
| 102 | BOOL put16bitsBE(const U8* bytes); |
| 103 | /* write 32 bit big-endian field */ |
| 104 | BOOL put32bitsBE(const U8* bytes); |
| 105 | /* write 64 bit big-endian field */ |
| 106 | BOOL put64bitsBE(const U8* bytes); |
| 107 | private: |
| 108 | U8 swapped[8] = {0}; |
| 109 | }; |
| 110 | |
| 111 | inline ByteStreamOutArray::ByteStreamOutArray(I64 alloc) |
| 112 | { |
nothing calls this directly
no outgoing calls
no test coverage detected