Wheefun I/O Library
0.0.5
Useful I/O Primitives.
|
The root namespace for WFIO. More...
Namespaces | |
beos | |
Elements of WFIO related to BeOS. | |
Classes | |
class | BinStream |
Wrap a wfio_binstream_t. More... | |
struct | DCntl |
A command to be supplied to a device or similar stream. More... | |
class | Device |
A C++ wrapper for a wfio_device_t. More... | |
class | FDDevice |
A Device wrapping a file descriptor. More... | |
class | FileDevice |
A Device wrapping a file stream. More... | |
class | IOBuf |
A C++ wrapper for a wfio_iobuf_t. More... | |
struct | IOShare |
An IO sharing mode. More... | |
class | Peer |
class | StdioDevice |
A Device wrapping a standard IO device. More... | |
Typedefs | |
typedef ::wfio_sint8_t | sint8_t |
typedef ::wfio_uint8_t | uint8_t |
typedef ::wfio_sint16_t | sint16_t |
typedef ::wfio_uint16_t | uint16_t |
typedef ::wfio_sint32_t | sint32_t |
typedef ::wfio_uint32_t | uint32_t |
typedef ::wfio_sint64_t | sint64_t |
typedef ::wfio_uint64_t | uint64_t |
typedef ::wfio_off_t | off_t |
An integer corresponding to a device offset. More... | |
typedef ::wfio_fd_t | fd_t |
The type corresponding a file descriptor. More... | |
typedef ::wfio_undefined_t | undefined_t |
A structure indicating no definition. More... | |
typedef ::wfio_endian_t | endian_t |
A categorization of the byte-order of multibyte integers. More... | |
Enumerations | |
enum | { NPOS = ::WFIO_NPOS } |
Functions | |
void | convertEndian (const wfio::sint16_t *src, wfio::endian_t srcEndian, wfio::sint16_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 16-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::sint16_t *src, wfio::sint16_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 16-bit signed integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::sint16_t *src, wfio::sint16_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 16-bit signed integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::sint16_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 16-bit signed integers in buf . More... | |
void | fromHostEndian (wfio::sint16_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 16-bit signed integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::sint16_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 16-bit signed integers in buf from srcEndian to that of the host. More... | |
wfio_sint16_t | convertEndian (wfio::sint16_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 16-bit signed integer. More... | |
wfio_sint16_t | fromHostEndian (wfio::sint16_t x, wfio::endian_t destEndian) throw () |
Convert a 16-bit signed integers from the host endianness to that of dest . More... | |
wfio_sint16_t | toHostEndian (wfio::sint16_t x, wfio::endian_t srcEndian) throw () |
Convert a 16-bit signed integer from src to that of the host. More... | |
void | convertEndian (const wfio::uint16_t *src, wfio::endian_t srcEndian, wfio::uint16_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 16-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::uint16_t *src, wfio::uint16_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 16-bit unsigned integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::uint16_t *src, wfio::uint16_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 16-bit unsigned integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::uint16_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 16-bit unsigned integers in buf . More... | |
void | fromHostEndian (wfio::uint16_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 16-bit unsigned integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::uint16_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 16-bit unsigned integers in buf from srcEndian to that of the host. More... | |
wfio_uint16_t | convertEndian (wfio::uint16_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 16-bit unsigned integer. More... | |
wfio_uint16_t | fromHostEndian (wfio::uint16_t x, wfio::endian_t destEndian) throw () |
Convert a 16-bit unsigned integers from the host endianness to that of dest . More... | |
wfio_uint16_t | toHostEndian (wfio::uint16_t x, wfio::endian_t srcEndian) throw () |
Convert a 16-bit unsigned integer from src to that of the host. More... | |
void | convertEndian (const wfio::sint32_t *src, wfio::endian_t srcEndian, wfio::sint32_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 32-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::sint32_t *src, wfio::sint32_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 32-bit signed integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::sint32_t *src, wfio::sint32_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 32-bit signed integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::sint32_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 32-bit signed integers in buf . More... | |
void | fromHostEndian (wfio::sint32_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 32-bit signed integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::sint32_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 32-bit signed integers in buf from srcEndian to that of the host. More... | |
wfio_sint32_t | convertEndian (wfio::sint32_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 32-bit signed integer. More... | |
wfio_sint32_t | fromHostEndian (wfio::sint32_t x, wfio::endian_t destEndian) throw () |
Convert a 32-bit signed integers from the host endianness to that of dest . More... | |
wfio_sint32_t | toHostEndian (wfio::sint32_t x, wfio::endian_t srcEndian) throw () |
Convert a 32-bit signed integer from src to that of the host. More... | |
void | convertEndian (const wfio::uint32_t *src, wfio::endian_t srcEndian, wfio::uint32_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 32-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::uint32_t *src, wfio::uint32_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 32-bit unsigned integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::uint32_t *src, wfio::uint32_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 32-bit unsigned integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::uint32_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 32-bit unsigned integers in buf . More... | |
void | fromHostEndian (wfio::uint32_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 32-bit unsigned integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::uint32_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 32-bit unsigned integers in buf from srcEndian to that of the host. More... | |
wfio_uint32_t | convertEndian (wfio::uint32_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 32-bit unsigned integer. More... | |
wfio_uint32_t | fromHostEndian (wfio::uint32_t x, wfio::endian_t destEndian) throw () |
Convert a 32-bit unsigned integers from the host endianness to that of dest . More... | |
wfio_uint32_t | toHostEndian (wfio::uint32_t x, wfio::endian_t srcEndian) throw () |
Convert a 32-bit unsigned integer from src to that of the host. More... | |
void | convertEndian (const wfio::sint64_t *src, wfio::endian_t srcEndian, wfio::sint64_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 64-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::sint64_t *src, wfio::sint64_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 64-bit signed integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::sint64_t *src, wfio::sint64_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 64-bit signed integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::sint64_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 64-bit signed integers in buf . More... | |
void | fromHostEndian (wfio::sint64_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 64-bit signed integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::sint64_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 64-bit signed integers in buf from srcEndian to that of the host. More... | |
wfio_sint64_t | convertEndian (wfio::sint64_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 64-bit signed integer. More... | |
wfio_sint64_t | fromHostEndian (wfio::sint64_t x, wfio::endian_t destEndian) throw () |
Convert a 64-bit signed integers from the host endianness to that of dest . More... | |
wfio_sint64_t | toHostEndian (wfio::sint64_t x, wfio::endian_t srcEndian) throw () |
Convert a 64-bit signed integer from src to that of the host. More... | |
void | convertEndian (const wfio::uint64_t *src, wfio::endian_t srcEndian, wfio::uint64_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Perform endianness conversion on 64-bit signed integers in src to be stored in dest . More... | |
void | fromHostEndian (const wfio::uint64_t *src, wfio::uint64_t *dest, wfio::endian_t destEndian, size_t len) throw () |
Convert 64-bit unsigned integers in src from the host endianness to that of destEndian and store them in dest . More... | |
void | toHostEndian (const wfio::uint64_t *src, wfio::uint64_t *dest, wfio::endian_t srcEndian, size_t len) throw () |
Convert 64-bit unsigned integers in src from srcEndian to that of the host and store them in dest . More... | |
void | convertEndian (wfio::uint64_t *buf, wfio::endian_t src, wfio::endian_t dest, size_t len) throw () |
Perform endianness conversion on 64-bit unsigned integers in buf . More... | |
void | fromHostEndian (wfio::uint64_t *buf, wfio::endian_t destEndian, size_t len) throw () |
Convert 64-bit unsigned integers in buf from the host endianness to that of destEndian . More... | |
void | toHostEndian (wfio::uint64_t *buf, wfio::endian_t srcEndian, size_t len) throw () |
Convert 64-bit unsigned integers in buf from srcEndian to that of the host. More... | |
wfio_uint64_t | convertEndian (wfio::uint64_t x, wfio::endian_t src, wfio::endian_t dest) throw () |
Perform endianness conversion on a 64-bit unsigned integer. More... | |
wfio_uint64_t | fromHostEndian (wfio::uint64_t x, wfio::endian_t destEndian) throw () |
Convert a 64-bit unsigned integers from the host endianness to that of dest . More... | |
wfio_uint64_t | toHostEndian (wfio::uint64_t x, wfio::endian_t srcEndian) throw () |
Convert a 64-bit unsigned integer from src to that of the host. More... | |
The root namespace for WFIO.
typedef ::wfio_endian_t wfio::endian_t |
A categorization of the byte-order of multibyte integers.
typedef ::wfio_fd_t wfio::fd_t |
The type corresponding a file descriptor.
typedef ::wfio_off_t wfio::off_t |
An integer corresponding to a device offset.
typedef ::wfio_sint16_t wfio::sint16_t |
typedef ::wfio_sint32_t wfio::sint32_t |
typedef ::wfio_sint64_t wfio::sint64_t |
typedef ::wfio_sint8_t wfio::sint8_t |
typedef ::wfio_uint16_t wfio::uint16_t |
typedef ::wfio_uint32_t wfio::uint32_t |
typedef ::wfio_uint64_t wfio::uint64_t |
typedef ::wfio_uint8_t wfio::uint8_t |
typedef ::wfio_undefined_t wfio::undefined_t |
A structure indicating no definition.
This structure exists as a stand-in for types that cannot be defined. It is intended to facilitate
|
inline |
Perform endianness conversion on 16-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 16-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 16-bit signed integers in buf
.
This function can be used to convert the endianness of a vector of 16-bit signed integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 16-bit signed integer.
This function can be used to convert the endianness of a 16-bit signed integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Perform endianness conversion on 16-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 16-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 16-bit unsigned integers in buf
.
This function can be used to convert the endianness of a vector of 16-bit unsigned integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 16-bit unsigned integer.
This function can be used to convert the endianness of a 16-bit unsigned integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Perform endianness conversion on 32-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 32-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 32-bit signed integers in buf
.
This function can be used to convert the endianness of a vector of 32-bit signed integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 32-bit signed integer.
This function can be used to convert the endianness of a 32-bit signed integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Perform endianness conversion on 32-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 32-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 32-bit unsigned integers in buf
.
This function can be used to convert the endianness of a vector of 32-bit unsigned integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 32-bit unsigned integer.
This function can be used to convert the endianness of a 32-bit unsigned integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Perform endianness conversion on 64-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 64-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 64-bit signed integers in buf
.
This function can be used to convert the endianness of a vector of 64-bit signed integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 64-bit signed integer.
This function can be used to convert the endianness of a 64-bit signed integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Perform endianness conversion on 64-bit signed integers in src
to be stored in dest
.
This function can be used to convert the endianness of a vector of 64-bit signed integers. If the source and destination are different, then the
src | An array of integers to read from. |
srcEndian | The endianness of the source vector. |
dest | An array of integers to write to. |
destEndian | The desired endianness of the destination vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Perform endianness conversion on 64-bit unsigned integers in buf
.
This function can be used to convert the endianness of a vector of 64-bit unsigned integers. The conversion occurs in place.
buf | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
len | The number of integers to process. |
buf
is not null buf
shall have their endiannes converted from the values originally passed.
|
inline |
Perform endianness conversion on a 64-bit unsigned integer.
This function can be used to convert the endianness of a 64-bit unsigned integer.
x | An array of integers to convert the endianess of. |
src | The current endianness of the buf . |
dest | The desired endianness of the buf . |
x
.
|
inline |
Convert 16-bit signed integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 16-bit signed integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 16-bit signed integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 16-bit unsigned integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 16-bit unsigned integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 16-bit unsigned integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 32-bit signed integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 32-bit signed integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 32-bit signed integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 32-bit unsigned integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 32-bit unsigned integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 32-bit unsigned integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 64-bit signed integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 64-bit signed integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 64-bit signed integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 64-bit unsigned integers in src
from the host endianness to that of destEndian
and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the destination endianness.
|
inline |
Convert 64-bit unsigned integers in buf
from the host endianness to that of destEndian
.
buf | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
len | The number of integers to process. |
dest
shall be in the destination endianness.
|
inline |
Convert a 64-bit unsigned integers from the host endianness to that of dest
.
x | An array of integers to convert. |
dest | An array of integers to write to. |
destEndian | The desired endianness of dest . |
x
.
|
inline |
Convert 16-bit signed integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 16-bit signed integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 16-bit signed integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.
|
inline |
Convert 16-bit unsigned integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 16-bit unsigned integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 16-bit unsigned integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.
|
inline |
Convert 32-bit signed integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 32-bit signed integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 32-bit signed integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.
|
inline |
Convert 32-bit unsigned integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 32-bit unsigned integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 32-bit unsigned integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.
|
inline |
Convert 64-bit signed integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 64-bit signed integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 64-bit signed integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.
|
inline |
Convert 64-bit unsigned integers in src
from srcEndian
to that of the host and store them in dest
.
src | An array of integers to read from. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
src
or dest
are null. dest
shall be in the host endianness.
|
inline |
Convert 64-bit unsigned integers in buf
from srcEndian
to that of the host.
buf | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
len | The number of integers to process. |
buf
shall be in the host endianness.
|
inline |
Convert a 64-bit unsigned integer from src
to that of the host.
x | An array of integers to read convert. |
dest | An array of integers to write to. |
srcEndian | The endianness of the source vector. |
x
.