UInt.toSize

struct UInt(size_t size)
const @safe pure @nogc nothrow
UInt!newSize
toSize
(
size_t newSize
bool lowerBits = true
)
()
if (
size % (size_t.sizeof * 8) == 0 &&
size >= (size_t.sizeof * 8)
)

Return Value

Type: UInt!newSize

the number with shrinked or extended size.

Meta