4 #ifndef vtkSegYIOUtils_h
5 #define vtkSegYIOUtils_h
7 #include "vtkABINamespace.h"
11 VTK_ABI_NAMESPACE_BEGIN
22 unsigned char readUChar(std::istream& in);
23 void swap(
char* a,
char* b);
31 bool checkIfBigEndian()
33 unsigned short a = 0x1234;
34 if (*((
unsigned char*)&a) == 0x12)
41 #endif // vtkSegYIOUtils_h
int readLongInteger(std::streamoff pos, std::istream &in)
unsigned char readUChar(std::istream &in)
float readIBMFloat(std::istream &in)
static vtkSegYIOUtils * Instance()
short readShortInteger(std::streamoff pos, std::istream &in)
char readChar(std::istream &in)
float readFloat(std::istream &in)
std::streamoff getFileSize(std::istream &in)
void swap(char *a, char *b)