kwasm.util

Kwasm.util

package kwasm.util

Classes

Name Description
object Leb128

Encapsulates LEB-128 integer encoding logic.

For more details, see the wikipedia page.

Methods

Impossible

fun Impossible(message: String): Nothing

Shorthand for marking a branch of code as impossible to reach.

Useful mainly in when blocks on reified type-parameters when the else should never be hit.

Parameters

Name Description
message: String

ReturnValue

Name Description
Nothing