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
Parameters
| Name | Description |
|---|---|
message: String
|
ReturnValue
| Name | Description |
|---|---|
Nothing
|
Shorthand for marking a branch of code as impossible to reach.
Useful mainly in
whenblocks onreifiedtype-parameters when theelseshould never be hit.