Class: RubyTDMS::DataTypes::Int8

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_tdms/data_types/int8.rb

Constant Summary collapse

ID =
0x01
LENGTH_IN_BYTES =
1

Instance Attribute Summary

Attributes inherited from Base

#value

Class Method Summary collapse

Methods inherited from Base

#initialize, subclasses

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
# File 'lib/ruby_tdms/data_types/int8.rb', line 10

def self.read_from_stream(tdms_file, big_endian)
	new tdms_file.read_i8
end