open fun shiftRight(distance: Int): Bytes!
(source)
Shift all bits in this value to the right.
distance
- Int: The number of bits to shift by.
Return
Bytes!: A value containing the shifted bits.
open fun <T : MutableBytes!> shiftRight(distance: Int, result: T): T
(source)
Shift all bits in this value to the right.
If this value is shorter in length than the output vector, then it will be zero-padded to the left. Likewise, if this value is longer in length than the output vector, then it will be truncated to the left (after shifting).
distance
- Int: The number of bits to shift by.
result
- T: The mutable output vector for the result.
- The MutableBytes
value type.
Return
T: The result
output vector.