phobos-next v0.4.6 (2022-11-25T12:27:21Z)
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
makeReallocatedBitArrayZeroPadded
makeUninitializedBitArray
makeZeroedBitArray
staticArray
staticArrayAlternative
properties
asN
toUbytes
static functions
binBlockBytes
wordCountOfBitCount
structs
US