Class: Depix::R32Field
Constant Summary
collapse
- BLANK =
0xFFFFFFFF
Instance Attribute Summary
Attributes inherited from Field
#desc, #name, #req
Instance Method Summary
collapse
Methods inherited from Field
#consume!, emit_char, emit_r32, emit_u16, emit_u32, emit_u8, #explain, #initialize, #pack, #validate!
Constructor Details
This class inherits a constructor from Depix::Field
Instance Method Details
#clean(v) ⇒ Object
205
206
207
|
# File 'lib/depix/dict.rb', line 205
def clean(v)
v.nan? ? nil : v
end
|
#length ⇒ Object
209
210
211
|
# File 'lib/depix/dict.rb', line 209
def length
4
end
|
#pattern ⇒ Object
201
202
203
|
# File 'lib/depix/dict.rb', line 201
def pattern
"g"
end
|
#rtype ⇒ Object
213
214
215
|
# File 'lib/depix/dict.rb', line 213
def rtype
Float
end
|