Methods to read and write primitive datatypes from/to byte sequences, allowing the byte order to be specified.
More...
#include <ByteOrderValues.h>
|
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) |
|
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.
Definition at line 37 of file ByteOrderValues.h.
static double geos::io::ByteOrderValues::getDouble |
( |
const unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
static int geos::io::ByteOrderValues::getInt |
( |
const unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
static int64 geos::io::ByteOrderValues::getLong |
( |
const unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
static void geos::io::ByteOrderValues::putDouble |
( |
double |
doubleValue, |
|
|
unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
static void geos::io::ByteOrderValues::putInt |
( |
int |
intValue, |
|
|
unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
static void geos::io::ByteOrderValues::putLong |
( |
int64 |
longValue, |
|
|
unsigned char * |
buf, |
|
|
int |
byteOrder |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: