dcrypt v0.0.5 (2015-08-01T16:43:44Z)
Dub
Repo
toLittleEndian
dcrypt
util
pack
convert a integral type T[] into an array of bytes.
void
toLittleEndian
(T n, ubyte[] output)
void
toLittleEndian
(T[] ns, ubyte[] output)
pure nothrow @
safe
@
safe
@
nogc
void
toLittleEndian
(
T
)
(
in
T
[]
ns
,
ubyte
[]
output
)
if
(
isIntegral
!
T
)
ubyte
[]
toLittleEndian
(T n)
ubyte
[]
toLittleEndian
(T[] ns)
Meta
Source
See Implementation
dcrypt
util
pack
functions
fromBigEndian
fromLittleEndian
toBigEndian
toLittleEndian
convert a integral type T[] into an array of bytes.