Companion

object Companion

Functions

Link copied to clipboard
fun byOpCode(opcode: Int): OpCode?

Returns the opcode for a decoded (possibly multi-byte) opcode value, or null when the value is unknown. Values outside the table, which untrusted input can produce through an arbitrary LEB128 sub-opcode, are reported as unknown instead of indexing out of bounds.

Link copied to clipboard