16#ifndef vtkSegYIOUtils_h
17#define vtkSegYIOUtils_h
32 void swap(
char* a,
char* b);
40 bool checkIfBigEndian()
42 unsigned short a = 0x1234;
43 if (*((
unsigned char*)&a) == 0x12)
float readFloat(std::istream &in)
int readLongInteger(std::streamoff pos, std::istream &in)
static vtkSegYIOUtils * Instance()
float readIBMFloat(std::istream &in)
std::streamoff getFileSize(std::istream &in)
void swap(char *a, char *b)
char readChar(std::istream &in)
short readShortInteger(std::streamoff pos, std::istream &in)
int readLongInteger(std::istream &in)
unsigned char readUChar(std::istream &in)
short readShortInteger(std::istream &in)