class RubyGS::BoxName

A String representing the name of a PC Box.

It can only contain 8 visible characters, the 9th being a terminator.

Public Instance Methods

get() click to toggle source
# File lib/ruby_gs/structs/box_name.rb, line 13
def get
  TextGS.decode self.val[0..7]
end
set(value) click to toggle source
# File lib/ruby_gs/structs/box_name.rb, line 17
def set value
  self.val = TextGS.encode value
end