Skip to content

komputing/KVarInt

Repository files navigation

KVarInt

Kotlin library providing a okio kvarint reader

Usage

val buffer: BufferedSource = "11111111 00000001".binToBuffer()
val result: UInt = buffer.readVarUInt()

now result will hold the value of 255U

Links

Projects using this library

  • the EIP-1577 module in KEthereum

License

MIT