71 const wfio_sint16_t* src, wfio_sint16_t* dest,
89 const wfio_sint16_t* src, wfio_sint16_t* dest,
222 (
const wfio_sint16_t*) src, srcEndian,
223 (wfio_sint16_t*) dest, destEndian,
240 const wfio_uint16_t* src, wfio_uint16_t* dest,
258 const wfio_uint16_t* src, wfio_uint16_t* dest,
404 const wfio_sint32_t* src, wfio_sint32_t* dest,
422 const wfio_sint32_t* src, wfio_sint32_t* dest,
555 (
const wfio_sint32_t*) src, srcEndian,
556 (wfio_sint32_t*) dest, destEndian,
573 const wfio_uint32_t* src, wfio_uint32_t* dest,
591 const wfio_uint32_t* src, wfio_uint32_t* dest,
737 const wfio_sint64_t* src, wfio_sint64_t* dest,
755 const wfio_sint64_t* src, wfio_sint64_t* dest,
888 (
const wfio_sint64_t*) src, srcEndian,
889 (wfio_sint64_t*) dest, destEndian,
906 const wfio_uint64_t* src, wfio_uint64_t* dest,
924 const wfio_uint64_t* src, wfio_uint64_t* dest,
The root namespace for WFIO.
Definition: bin.h:879
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI32V2(const wfio_sint32_t *src, wfio_sint32_t *dest, wfio_endian_t destEndian, size_t len)
Convert 32-bit signed integers in src from the host endianness to that of destEndian and store them i...
Definition: endian.h:403
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI32V2(const wfio_uint32_t *src, wfio_uint32_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 32-bit unsigned integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:590
::wfio_uint32_t uint32_t
Definition: integer.h:128
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI32V2(const wfio_sint32_t *src, wfio_sint32_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 32-bit signed integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:421
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI32V(wfio_uint32_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 32-bit unsigned integers in buf from srcEndian to that of the host.
Definition: endian.h:647
#define WFIO_DLL
Mark the symbol as an element of the library.
Definition: host.h:397
WFIO_ALWAYS_INLINE wfio_uint32_t wfio_toHostEndianUI32(wfio_uint32_t x, wfio_endian_t srcEndian)
Convert a 32-bit unsigned integer from src to that of the host.
Definition: endian.h:697
WFIO_ALWAYS_INLINE wfio_sint16_t wfio_toHostEndianSI16(wfio_sint16_t x, wfio_endian_t srcEndian)
Convert a 16-bit signed integer from src to that of the host.
Definition: endian.h:195
WFIO_ALWAYS_INLINE wfio_uint32_t wfio_convertEndianUI32(wfio_uint32_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 32-bit unsigned integer.
Definition: endian.h:665
WFIO_ALWAYS_INLINE void wfio_convertEndianUI16V2(const wfio_uint16_t *src, wfio_endian_t srcEndian, wfio_uint16_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 16-bit signed integers in src to be stored in dest.
Definition: endian.h:217
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI64V2(const wfio_sint64_t *src, wfio_sint64_t *dest, wfio_endian_t destEndian, size_t len)
Convert 64-bit signed integers in src from the host endianness to that of destEndian and store them i...
Definition: endian.h:736
WFIO_ALWAYS_INLINE wfio_sint16_t wfio_fromHostEndianSI16(wfio_sint16_t x, wfio_endian_t destEndian)
Convert a 16-bit signed integers from the host endianness to that of dest.
Definition: endian.h:179
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI64V(wfio_sint64_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 64-bit signed integers in buf from srcEndian to that of the host.
Definition: endian.h:811
WFIO_ALWAYS_INLINE wfio_sint64_t wfio_toHostEndianSI64(wfio_sint64_t x, wfio_endian_t srcEndian)
Convert a 64-bit signed integer from src to that of the host.
Definition: endian.h:861
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI32V2(const wfio_uint32_t *src, wfio_uint32_t *dest, wfio_endian_t destEndian, size_t len)
Convert 32-bit unsigned integers in src from the host endianness to that of destEndian and store them...
Definition: endian.h:572
WFIO_ALWAYS_INLINE wfio_uint32_t wfio_fromHostEndianUI32(wfio_uint32_t x, wfio_endian_t destEndian)
Convert a 32-bit unsigned integers from the host endianness to that of dest.
Definition: endian.h:681
WFIO_ALWAYS_INLINE wfio_uint16_t wfio_toHostEndianUI16(wfio_uint16_t x, wfio_endian_t srcEndian)
Convert a 16-bit unsigned integer from src to that of the host.
Definition: endian.h:364
#define WFIO_ALWAYS_INLINE
Mark this symbol to be forced inline.
Definition: host.h:447
WFIO_ALWAYS_INLINE void wfio_convertEndianUI64V(wfio_uint64_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 64-bit unsigned integers in buf.
Definition: endian.h:944
WFIO_ALWAYS_INLINE wfio_sint16_t wfio_convertEndianSI16(wfio_sint16_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 16-bit signed integer.
Definition: endian.h:163
::wfio_uint16_t uint16_t
Definition: integer.h:122
WFIO_DLL void wfio_convertEndianSI16V2(const wfio_sint16_t *src, wfio_endian_t srcEndian, wfio_sint16_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 16-bit signed integers in src to be stored in dest.
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI32V(wfio_uint32_t *buf, wfio_endian_t destEndian, size_t len)
Convert 32-bit unsigned integers in buf from the host endianness to that of destEndian.
Definition: endian.h:630
WFIO_ALWAYS_INLINE void wfio_convertEndianUI16V(wfio_uint16_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 16-bit unsigned integers in buf.
Definition: endian.h:278
::wfio_uint64_t uint64_t
Definition: integer.h:134
::wfio_sint32_t sint32_t
Definition: integer.h:125
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI64V(wfio_uint64_t *buf, wfio_endian_t destEndian, size_t len)
Convert 64-bit unsigned integers in buf from the host endianness to that of destEndian.
Definition: endian.h:963
WFIO_ALWAYS_INLINE wfio_uint64_t wfio_fromHostEndianUI64(wfio_uint64_t x, wfio_endian_t destEndian)
Convert a 64-bit unsigned integers from the host endianness to that of dest.
Definition: endian.h:1014
WFIO_ALWAYS_INLINE void wfio_convertEndianUI64V2(const wfio_uint64_t *src, wfio_endian_t srcEndian, wfio_uint64_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 64-bit signed integers in src to be stored in dest.
Definition: endian.h:883
WFIO_ALWAYS_INLINE wfio_uint64_t wfio_convertEndianUI64(wfio_uint64_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 64-bit unsigned integer.
Definition: endian.h:998
WFIO_ALWAYS_INLINE wfio_uint16_t wfio_fromHostEndianUI16(wfio_uint16_t x, wfio_endian_t destEndian)
Convert a 16-bit unsigned integers from the host endianness to that of dest.
Definition: endian.h:348
void toHostEndian(const wfio::sint16_t *src, wfio::sint16_t *dest, wfio::endian_t srcEndian, size_t len)
Convert 16-bit signed integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:1053
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI16V(wfio_uint16_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 16-bit unsigned integers in buf from srcEndian to that of the host.
Definition: endian.h:314
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI64V2(const wfio_uint64_t *src, wfio_uint64_t *dest, wfio_endian_t destEndian, size_t len)
Convert 64-bit unsigned integers in src from the host endianness to that of destEndian and store them...
Definition: endian.h:905
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI16V2(const wfio_uint16_t *src, wfio_uint16_t *dest, wfio_endian_t destEndian, size_t len)
Convert 16-bit unsigned integers in src from the host endianness to that of destEndian and store them...
Definition: endian.h:239
WFIO_ALWAYS_INLINE void wfio_convertEndianSI16V(wfio_sint16_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 16-bit signed integers in buf.
Definition: endian.h:109
WFIO_ALWAYS_INLINE wfio_sint32_t wfio_fromHostEndianSI32(wfio_sint32_t x, wfio_endian_t destEndian)
Convert a 32-bit signed integers from the host endianness to that of dest.
Definition: endian.h:512
void convertEndian(const wfio::sint16_t *src, wfio::endian_t srcEndian, wfio::sint16_t *dest, wfio::endian_t destEndian, size_t len)
Perform endianness conversion on 16-bit signed integers in src to be stored in dest.
Definition: endian.h:1043
WFIO_ALWAYS_INLINE void wfio_convertEndianSI32V(wfio_sint32_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 32-bit signed integers in buf.
Definition: endian.h:442
WFIO_DLL void wfio_convertEndianSI32V2(const wfio_sint32_t *src, wfio_endian_t srcEndian, wfio_sint32_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 32-bit signed integers in src to be stored in dest.
::wfio_sint16_t sint16_t
Definition: integer.h:119
WFIO_ALWAYS_INLINE wfio_sint32_t wfio_toHostEndianSI32(wfio_sint32_t x, wfio_endian_t srcEndian)
Convert a 32-bit signed integer from src to that of the host.
Definition: endian.h:528
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI64V2(const wfio_uint64_t *src, wfio_uint64_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 64-bit unsigned integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:923
WFIO_ALWAYS_INLINE wfio_sint64_t wfio_fromHostEndianSI64(wfio_sint64_t x, wfio_endian_t destEndian)
Convert a 64-bit signed integers from the host endianness to that of dest.
Definition: endian.h:845
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI64V2(const wfio_sint64_t *src, wfio_sint64_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 64-bit signed integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:754
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI16V2(const wfio_sint16_t *src, wfio_sint16_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 16-bit signed integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:88
WFIO_ALWAYS_INLINE void wfio_fromHostEndianUI16V(wfio_uint16_t *buf, wfio_endian_t destEndian, size_t len)
Convert 16-bit unsigned integers in buf from the host endianness to that of destEndian.
Definition: endian.h:297
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI32V(wfio_sint32_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 32-bit signed integers in buf from srcEndian to that of the host.
Definition: endian.h:478
WFIO_ALWAYS_INLINE wfio_sint32_t wfio_convertEndianSI32(wfio_sint32_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 32-bit signed integer.
Definition: endian.h:496
WFIO_ALWAYS_INLINE void wfio_convertEndianUI32V(wfio_uint32_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 32-bit unsigned integers in buf.
Definition: endian.h:611
wfio_endian_t
A categorization of the byte-order of multibyte integers.
Definition: misctype.h:61
WFIO_DLL void wfio_convertEndianSI64V2(const wfio_sint64_t *src, wfio_endian_t srcEndian, wfio_sint64_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 64-bit signed integers in src to be stored in dest.
WFIO_ALWAYS_INLINE wfio_sint64_t wfio_convertEndianSI64(wfio_sint64_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 64-bit signed integer.
Definition: endian.h:829
WFIO_ALWAYS_INLINE wfio_uint64_t wfio_toHostEndianUI64(wfio_uint64_t x, wfio_endian_t srcEndian)
Convert a 64-bit unsigned integer from src to that of the host.
Definition: endian.h:1030
The endianness of this system.
Definition: misctype.h:173
void fromHostEndian(const wfio::sint16_t *src, wfio::sint16_t *dest, wfio::endian_t destEndian, size_t len)
Convert 16-bit signed integers in src from the host endianness to that of destEndian and store them i...
Definition: endian.h:1048
WFIO_ALWAYS_INLINE void wfio_convertEndianSI64V(wfio_sint64_t *buf, wfio_endian_t src, wfio_endian_t dest, size_t len)
Perform endianness conversion on 64-bit signed integers in buf.
Definition: endian.h:775
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI16V2(const wfio_uint16_t *src, wfio_uint16_t *dest, wfio_endian_t srcEndian, size_t len)
Convert 16-bit unsigned integers in src from srcEndian to that of the host and store them in dest...
Definition: endian.h:257
::wfio_sint64_t sint64_t
Definition: integer.h:131
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI32V(wfio_sint32_t *buf, wfio_endian_t destEndian, size_t len)
Convert 32-bit signed integers in buf from the host endianness to that of destEndian.
Definition: endian.h:461
WFIO_ALWAYS_INLINE void wfio_convertEndianUI32V2(const wfio_uint32_t *src, wfio_endian_t srcEndian, wfio_uint32_t *dest, wfio_endian_t destEndian, size_t len)
Perform endianness conversion on 32-bit signed integers in src to be stored in dest.
Definition: endian.h:550
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI64V(wfio_sint64_t *buf, wfio_endian_t destEndian, size_t len)
Convert 64-bit signed integers in buf from the host endianness to that of destEndian.
Definition: endian.h:794
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI16V2(const wfio_sint16_t *src, wfio_sint16_t *dest, wfio_endian_t destEndian, size_t len)
Convert 16-bit signed integers in src from the host endianness to that of destEndian and store them i...
Definition: endian.h:70
WFIO_ALWAYS_INLINE void wfio_fromHostEndianSI16V(wfio_sint16_t *buf, wfio_endian_t destEndian, size_t len)
Convert 16-bit signed integers in buf from the host endianness to that of destEndian.
Definition: endian.h:128
WFIO_ALWAYS_INLINE void wfio_toHostEndianSI16V(wfio_sint16_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 16-bit signed integers in buf from srcEndian to that of the host.
Definition: endian.h:145
WFIO_ALWAYS_INLINE wfio_uint16_t wfio_convertEndianUI16(wfio_uint16_t x, wfio_endian_t src, wfio_endian_t dest)
Perform endianness conversion on a 16-bit unsigned integer.
Definition: endian.h:332
WFIO_ALWAYS_INLINE void wfio_toHostEndianUI64V(wfio_uint64_t *buf, wfio_endian_t srcEndian, size_t len)
Convert 64-bit unsigned integers in buf from srcEndian to that of the host.
Definition: endian.h:980