open fun shiftLeft(distance: Int): Bytes
(source)
Shift all bits in this value to the left.
distance
- The number of bits to shift by.
Return
A value containing the shifted bits.
open fun <T : MutableBytes> shiftLeft(distance: Int, result: T): T
(source)
Shift all bits in this value to the left.
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.
distance
- The number of bits to shift by.
result
- The mutable output vector for the result.
- The MutableBytes value type.
Return
The result
output vector.