class Mathtype::Mtef16

Public Instance Methods

get() click to toggle source
# File lib/records/bintypes.rb, line 6
def get; (high << 8) + low end
gethigh() click to toggle source
# File lib/records/bintypes.rb, line 10
def gethigh
  self.high
end
getlow() click to toggle source
# File lib/records/bintypes.rb, line 7
def getlow
  self.low
end
set(v) click to toggle source
# File lib/records/bintypes.rb, line 13
def set(v)
  self.low = v & 0xFF
  self.high = (v & 0xFF00) >> 8
end