#include <cstdint>
#include <cstring>
Go to the source code of this file.
Namespaces | |
visionary | |
Macros | |
#define | COLA_BYTE_ORDER_ENDIAN_LITTLE |
#define | ENDIAN_LITTLE |
Functions | |
template<typename T > | |
T | visionary::bigEndianToNative (T x) |
char | visionary::byteswap (char val) |
double | visionary::byteswap (double val) |
float | visionary::byteswap (float val) |
int16_t | visionary::byteswap (int16_t val) |
int32_t | visionary::byteswap (int32_t val) |
int64_t | visionary::byteswap (int64_t val) |
int8_t | visionary::byteswap (int8_t val) |
uint16_t | visionary::byteswap (uint16_t val) |
uint32_t | visionary::byteswap (uint32_t val) |
uint64_t | visionary::byteswap (uint64_t val) |
uint8_t | visionary::byteswap (uint8_t val) |
wchar_t | visionary::byteswap (wchar_t val) |
template<typename TAlias , typename T > | |
T | visionary::byteswapAlias (T val) |
template<typename T > | |
T | visionary::littleEndianToNative (T x) |
template<typename T > | |
T | visionary::nativeToBigEndian (T x) |
template<typename T > | |
T | visionary::nativeToColaByteOrder (T x) |
template<typename T > | |
T | visionary::nativeToLittleEndian (T x) |
template<typename T > | |
T | visionary::readUnalignBigEndian (const void *ptr) |
template<typename T > | |
T | visionary::readUnalignColaByteOrder (const void *ptr) |
template<class T > | |
T | visionary::readUnaligned (const void *ptr) |
template<typename T > | |
T | visionary::readUnalignLittleEndian (const void *ptr) |
#define COLA_BYTE_ORDER_ENDIAN_LITTLE |
Definition at line 40 of file VisionaryEndian.h.
#define ENDIAN_LITTLE |
Copyright (C) 2023, SICK AG, Waldkirch, Germany Copyright (C) 2023, FZI Forschungszentrum Informatik, Karlsruhe, Germany
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 27 of file VisionaryEndian.h.