MCPcopy Create free account
hub / github.com/WebAssembly/wabt / GetPrefix

Method GetPrefix

include/wabt/opcode.h:58–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 static Opcode FromCode(uint8_t prefix, uint32_t code);
57 bool HasPrefix() const { return GetInfo().prefix != 0; }
58 uint8_t GetPrefix() const { return GetInfo().prefix; }
59 uint32_t GetCode() const { return GetInfo().code; }
60 size_t GetLength() const { return GetBytes().size(); }
61 const char* GetName() const { return GetInfo().name; }

Callers 2

OnOpcodeMethod · 0.80
WriteOpcodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected