phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
toUbytes
nxt
array_help
@
safe
@
property
@
trusted
pure nothrow
@
nogc
=>
(
cast(
ubyte
*)
(
&
x
)
)
[0 ..
x.sizeof
]
ubyte
[
T.sizeof
]
toUbytes
(
T
)
(
in
T
x
)
Return Value
Type:
ubyte
[
T
.
sizeof
]
x
as a static array of unsigned bytes.
Meta
Source
See Implementation
nxt
array_help
aliases
s
functions
makeArrayZeroed
makeBitArrayZeroed
makeReallocatedBitArrayZeroPadded
makeUninitializedBitArray
staticArray
staticArrayAlternative
properties
asN
toUbytes
static functions
binBlockBytes
wordCountOfBitCount
structs
US