21 #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H
22 #define GEOS_IO_BYTEORDERDATAINSTREAM_H
24 #include <geos/export.h>
29 #include <geos/inline.h>
43 class GEOS_DLL ByteOrderDataInStream {
47 ByteOrderDataInStream(std::istream *s=NULL);
49 ~ByteOrderDataInStream();
55 void setInStream(std::istream *s);
57 void setOrder(
int order);
59 unsigned char readByte();
80 #include <geos/io/ByteOrderDataInStream.inl>
83 #endif // #ifndef GEOS_IO_BYTEORDERDATAINSTREAM_H