20 #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H
21 #define GEOS_IO_BYTEORDERDATAINSTREAM_H
23 #include <geos/export.h>
27 #include <geos/inline.h>
41 class GEOS_DLL ByteOrderDataInStream {
45 ByteOrderDataInStream(std::istream* s =
nullptr);
47 ~ByteOrderDataInStream();
53 void setInStream(std::istream* s);
55 void setOrder(
int order);
57 unsigned char readByte();
78 #include <geos/io/ByteOrderDataInStream.inl>
81 #endif // #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H