C

SafeRendererGenerics Namespace

The SafeRendererGenerics namespace. More...

Header: #include <SafeRendererGenerics>
Since: QtSafeRenderer 1.0

This namespace was introduced in QtSafeRenderer 1.0.

Functions

T qbswap(const T source)

Detailed Description

The SafeRendererGenerics namespace contains endian functions.

Function Documentation

template <typename T> T SafeRendererGenerics::qbswap(const T source)

internal

Changes the byte order of source value from big endian to little endian or vice versa. This function can be used if you are not concerned about alignment issues, and it is therefore a bit more convenient and in most cases more efficient.

Available under certain Qt licenses.
Find out more.