 |
VTK
9.0.1
|
Go to the documentation of this file.
16 #ifndef vtkSegYIOUtils_h
17 #define vtkSegYIOUtils_h
31 unsigned char readUChar(std::istream& in);
32 void swap(
char* a,
char* b);
40 bool checkIfBigEndian()
42 unsigned short a = 0x1234;
43 if (*((
unsigned char*)&a) == 0x12)
49 #endif // vtkSegYIOUtils_h
int readLongInteger(std::streamoff pos, std::istream &in)
static vtkSegYIOUtils * Instance()
unsigned char readUChar(std::istream &in)
void swap(char *a, char *b)
char readChar(std::istream &in)
float readFloat(std::istream &in)
short readShortInteger(std::streamoff pos, std::istream &in)
float readIBMFloat(std::istream &in)
std::streamoff getFileSize(std::istream &in)