Parent

Methods

Ole::Types::Lpstr

Public Class Methods

dump(str) click to toggle source
# File lib/ole/types/base.rb, line 32
def self.dump str
  # do i need to append the null byte?
  str.to_s
end
load(str) click to toggle source
# File lib/ole/types/base.rb, line 26
def self.load str
  # not sure if its always there, but there is often a trailing
  # null byte.
  new str.chomp(0.chr)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.