Leb128
object Leb128
Methods
encodeUnsigned
fun encodeUnsigned(value: Int): Sequence
Encodes the provided value as an unsigned integer using LEB128 into a sequence of Bytes.
Parameters
Name | Description |
---|---|
value: Int
|
ReturnValue
Name | Description |
---|---|
Sequence
|
Encapsulates LEB-128 integer encoding logic.
For more details, see the wikipedia page.