Class: RubyTDMS::DataTypes::DoubleWithUnit
- Defined in:
- lib/ruby_tdms/data_types/double_with_unit.rb
Constant Summary collapse
- ID =
0x1A
- LENGTH_IN_BYTES =
8
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from RubyTDMS::DataTypes::Base
Class Method Details
.read_from_stream(tdms_file, big_endian) ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/ruby_tdms/data_types/double_with_unit.rb', line 10 def self.read_from_stream(tdms_file, big_endian) if big_endian new tdms_file.read_double_be else new tdms_file.read_double end end |