GEOS  3.9.0dev
Public Member Functions | List of all members
geos::io::ByteOrderDataInStream Class Reference

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 ()
 

Detailed Description

Allows reading an stream of primitive datatypes from an underlying istream, with the representation being in either common byte ordering.

Member Function Documentation

void geos::io::ByteOrderDataInStream::setInStream ( std::istream *  s)

Allows a single ByteOrderDataInStream to be reused on multiple istream.


The documentation for this class was generated from the following file: