4#ifndef vtkSegYIOUtils_h
5#define vtkSegYIOUtils_h
7#include "vtkABINamespace.h"
11VTK_ABI_NAMESPACE_BEGIN
23 void swap(
char* a,
char* b)
noexcept;
31 bool checkIfBigEndian()
33 unsigned short a = 0x1234;
34 if (*(
reinterpret_cast<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)
char readChar(std::istream &in)
short readShortInteger(std::streamoff pos, std::istream &in)
int readLongInteger(std::istream &in)
unsigned char readUChar(std::istream &in)
void swap(char *a, char *b) noexcept
short readShortInteger(std::istream &in)