20 #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H
21 #define GEOS_IO_BYTEORDERDATAINSTREAM_H
23 #include <geos/export.h>
28 #include <geos/inline.h>
42 class GEOS_DLL ByteOrderDataInStream {
46 ByteOrderDataInStream(std::istream *s=NULL);
48 ~ByteOrderDataInStream();
54 void setInStream(std::istream *s);
56 void setOrder(
int order);
58 unsigned char readByte();
79 #include <geos/io/ByteOrderDataInStream.inl>
82 #endif // #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H