Peano
Loading...
Searching...
No Matches
ByteSwap.h
Go to the documentation of this file.
1// This file is part of the Peano project. For conditions of distribution and
2// use, please see the copyright notice at www.peano-framework.org
3#pragma once
4
5namespace tarch {
6 namespace plotter {
14 template <class InType>
15 InType byteSwap(const InType inVal);
16
23 template <class InType>
24 InType byteSwapForParaviewBinaryFiles(const InType inVal);
25 }
26}
27
28#include "tarch/plotter/ByteSwap.cpph"
InType byteSwap(const InType inVal)
Transform inVal vom little-endian into big-endian.
InType byteSwapForParaviewBinaryFiles(const InType inVal)
Conditional swap.
Have to include this header, as I need access to the SYCL_EXTERNAL keyword.
Definition accelerator.h:19