MCPcopy Create free account
hub / github.com/LASzip/LASzip / ByteStreamInArrayBE

Class ByteStreamInArrayBE

src/bytestreamin_array.hpp:87–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85};
86
87class ByteStreamInArrayBE : public ByteStreamInArray
88{
89public:
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);
104private:
105 U8 swapped[8] = {0};
106};
107
108inline ByteStreamInArray::ByteStreamInArray()
109{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected