Block-Structured AMR Software Framework
AMReX_IntConv.H File Reference
#include <AMReX_Config.H>
#include <AMReX_FPC.H>
#include <AMReX_FabConv.H>
#include <iostream>
#include <cstring>
#include <cstdint>

Go to the source code of this file.

Namespaces

 amrex
 

Functions

std::int16_t amrex::swapBytes (std::int16_t val)
 
std::int32_t amrex::swapBytes (std::int32_t val)
 
std::int64_t amrex::swapBytes (std::int64_t val)
 
std::uint16_t amrex::swapBytes (std::uint16_t val)
 
std::uint32_t amrex::swapBytes (std::uint32_t val)
 
std::uint64_t amrex::swapBytes (std::uint64_t val)
 
template<typename To , typename From >
void amrex::writeIntData (const From *data, std::size_t size, std::ostream &os, const amrex::IntDescriptor &id)
 
template<typename To , typename From >
void amrex::readIntData (To *data, std::size_t size, std::istream &is, const amrex::IntDescriptor &id)