Id128Bytes Union

union QUuid::Id128Bytes

This union was introduced in Qt 6.6.

(since 6.6) QUuid::Id128Bytes qFromBigEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qFromLittleEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qToBigEndian(QUuid::Id128Bytes src)
(since 6.6) QUuid::Id128Bytes qToLittleEndian(QUuid::Id128Bytes src)

Detailed Description

This trivial structure is 128 bits (16 bytes) in size and holds the binary representation of a UUID. Applications can memcpy() its contents to and from many other libraries' UUID or GUID structures that take 128-bit values.

Related Non-Members

[since 6.6] QUuid::Id128Bytes qFromBigEndian(QUuid::Id128Bytes src)

This is an overloaded function.

Converts src from big-endian byte order and returns the struct holding the binary representation of UUID in host byte order.

This function was introduced in Qt 6.6.

See also <QtEndian>.

[since 6.6] QUuid::Id128Bytes qFromLittleEndian(QUuid::Id128Bytes src)

This is an overloaded function.

Converts src from little-endian byte order and returns the struct holding the binary representation of UUID in host byte order.

This function was introduced in Qt 6.6.

See also <QtEndian>.

[since 6.6] QUuid::Id128Bytes qToBigEndian(QUuid::Id128Bytes src)

This is an overloaded function.

Converts src from host byte order and returns the struct holding the binary representation of UUID in big-endian byte order.

This function was introduced in Qt 6.6.

See also <QtEndian>.

[since 6.6] QUuid::Id128Bytes qToLittleEndian(QUuid::Id128Bytes src)

This is an overloaded function.

Converts src from host byte order and returns the struct holding the binary representation of UUID in little-endian byte order.

This function was introduced in Qt 6.6.

See also <QtEndian>.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.