dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
fromLittleEndian
dcrypt
bitmanip
Converts little endian bytes to integral of type T
T
fromLittleEndian
(
in
ubyte
[]
bs
)
@
safe
@
nogc
T
fromLittleEndian
(
T
)
(
in
ubyte
[]
bs
)
if
(
isIntegral
!
T
)
in { assert (bs.length >= T.sizeof, "input buffer too short"); }
void
fromLittleEndian
(
in
ubyte
[]
bs
,
T
[]
output
)
Return Value
Type:
T
integral of type T
Meta
Source
See Implementation
dcrypt
bitmanip
aliases
rol
functions
fromBigEndian
fromLittleEndian
rotateLeft
rotateRight
toBigEndian
toLittleEndian
Converts little endian bytes to integral of type T