Class: Type::UI32
Constant Summary collapse
- MAX =
2**32 - 1
- MIN =
0
Class Method Summary collapse
- .signed? ⇒ Boolean
-
.size ⇒ Object
size in bytes.
- .wasm_type ⇒ Object
Instance Method Summary collapse
- #+(v) ⇒ Object
-
#initialize(v) ⇒ UI32
constructor
A new instance of UI32.
-
#size ⇒ Object
size in bytes.
- #wasm_type ⇒ Object
Methods inherited from Numeric
Constructor Details
Class Method Details
.signed? ⇒ Boolean
40 |
# File 'lib/rlang/parser/ext/type.rb', line 40 def self.signed?; false; end |
.size ⇒ Object
size in bytes
42 |
# File 'lib/rlang/parser/ext/type.rb', line 42 def self.size; 4; end |
.wasm_type ⇒ Object
44 |
# File 'lib/rlang/parser/ext/type.rb', line 44 def self.wasm_type; 'i32'; end |
Instance Method Details
#wasm_type ⇒ Object
43 |
# File 'lib/rlang/parser/ext/type.rb', line 43 def wasm_type; 'i32'; end |