class Ole::Types::Lpstr
Public Class Methods
dump(str)
click to toggle source
# File lib/ole/types/base.rb, line 33 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 27 def self.load str # not sure if its always there, but there is often a trailing # null byte. new str.chomp(0.chr) end