- Qt 6.9
- Qt Core
- C++ Classes
- Id128Bytes
- Qt 6.9.3 Reference Documentation

# QUuid::Id128Bytes Union

union QUuid::Id128Bytes

This union was introduced in Qt 6.6.

## Related Non-Members

`(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)

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)

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)

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)

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>.