class RubyTDMS::DataTypes::Int16

Constants

ID
LENGTH_IN_BYTES

Public Class Methods

read_from_stream(tdms_file, big_endian) click to toggle source
# File lib/ruby_tdms/data_types/int16.rb, line 10
def self.read_from_stream(tdms_file, big_endian)
        if big_endian
                new tdms_file.read_i16_be
        else
                new tdms_file.read_i16
        end
end