- Qt 6.8
- Qt Core
- C++ Classes
- Id128Bytes
- Qt 6.8.3 Reference Documentation

# 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)

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