Method: BERT::Decode#read_float
- Defined in:
- lib/bert/decode.rb
#read_float ⇒ Object
147 148 149 150 151 |
# File 'lib/bert/decode.rb', line 147 def read_float fail("Invalid Type, not a float") unless read_1 == FLOAT string_value = read_string(31) result = string_value.to_f end |