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

Methods to read and write primitive datatypes from/to byte sequences, allowing the byte order to be specified. More...

#include <ByteOrderValues.h>

Public Types

enum  EndianType { ENDIAN_BIG = 0, ENDIAN_LITTLE = 1 }
 

Static Public Member Functions

static int getInt (const unsigned char *buf, int byteOrder)
 
static void putInt (int intValue, unsigned char *buf, int byteOrder)
 
static int64 getLong (const unsigned char *buf, int byteOrder)
 
static void putLong (int64 longValue, unsigned char *buf, int byteOrder)
 
static double getDouble (const unsigned char *buf, int byteOrder)
 
static void putDouble (double doubleValue, unsigned char *buf, int byteOrder)
 

Detailed Description

Methods to read and write primitive datatypes from/to byte sequences, allowing the byte order to be specified.

Similar to the standard Java ByteBuffer class.


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