ae v0.0.3053 (2021-06-01T17:26:23Z)
Home
Dub
Repo
swapBytes
ae
utils
math
Swap the byte order in an integer value.
T
swapBytes
(
T
)
(
T
b
)
if
(
is
(
T
:
uint
)
)
Meta
Source
See Implementation
ae
utils
math
modules
distribution
longmul
aliases
eq
flipBits
ge
gt
le
lt
ne
functions
average
between
bitsFor
bound
compare
ilog2
isPowerOfTwo
itpl
maximize
minimize
nextPowerOfTwo
op
rangeIntersection
roundUpToPowerOfTwo
sign
sort2
sqr
sum
swapBytes
templates
TypeForBits
binary
unary
Swap the byte order in an integer value.