28#ifndef itkByteSwapper_h
29#define itkByteSwapper_h
61#ifndef ITK_FUTURE_LEGACY_REMOVE
64 [[deprecated(
"ByteSwapper::OStreamType is deprecated from ITK 6. Just use `std::ostream` instead!")]] =
169#ifdef CMAKE_WORDS_BIGENDIAN
178#ifndef ITK_MANUAL_INSTANTIATION
179# include "itkByteSwapper.hxx"
static void SwapBytes(T &)
static constexpr bool SystemIsBE()
static void SwapWriteRange(const T *buffer, SizeValueType numberOfElements, std::ostream &outputStream)
static void SwapWriteRangeFromSystemToLittleEndian(const T *p, int num, std::ostream *fp)
SmartPointer< const Self > ConstPointer
static constexpr bool SystemIsBigEndian()
static constexpr bool m_SystemIsBigEndian
static constexpr bool SystemIsLE()
static void SwapRangeFromSystemToLittleEndian(T *p, BufferSizeType num)
SizeValueType BufferSizeType
~ByteSwapper() override=default
static constexpr bool SystemIsLittleEndian()
static void SwapWriteRangeFromSystemToBigEndian(const T *p, int num, std::ostream *fp)
static void SwapFromSystemToLittleEndian(T *p)
SmartPointer< Self > Pointer
static void SwapRangeFromSystemToBigEndian(T *p, BufferSizeType num)
static void SwapFromSystemToBigEndian(T *p)
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType