class ICU::Lib::VersionInfo
Constants
- MaxLength
- MaxStringLength
Public Class Methods
native_type()
click to toggle source
# File lib/ffi-icu/lib.rb, line 164 def self.native_type FFI::Type::POINTER end
new()
click to toggle source
Calls superclass method
# File lib/ffi-icu/lib.rb, line 168 def initialize super :uint8, MaxLength end
Public Instance Methods
to_a()
click to toggle source
# File lib/ffi-icu/lib.rb, line 172 def to_a read_array_of_uint8(MaxLength) end
to_s()
click to toggle source
# File lib/ffi-icu/lib.rb, line 176 def to_s buffer = FFI::MemoryPointer.new(:char, MaxStringLength) Lib.u_versionToString(self, buffer) buffer.read_string_to_null end