|
GEOS
3.9.0
|
Allows reading an stream of primitive datatypes from an underlying istream, with the representation being in either common byte ordering. More...
#include <ByteOrderDataInStream.h>
Public Member Functions | |
| ByteOrderDataInStream (std::istream *s=nullptr) | |
| void | setInStream (std::istream *s) |
| void | setOrder (int order) |
| unsigned char | readByte () |
| int | readInt () |
| long | readLong () |
| double | readDouble () |
Allows reading an stream of primitive datatypes from an underlying istream, with the representation being in either common byte ordering.
| void geos::io::ByteOrderDataInStream::setInStream | ( | std::istream * | s | ) |
Allows a single ByteOrderDataInStream to be reused on multiple istream.