Sha256: 9ac3f6e4ebe2c26b9d418df9bab21879d7cec6791fa3bf3bfe39c6209b496386

Contents?: true

Size: 159 Bytes

Versions: 1

Compression:

Stored size: 159 Bytes

Contents

module GLib
  load_class :ByteArray

  class ByteArray
    def to_string
      GirFFI::ArgHelper.ptr_to_utf8_length self[:data], self[:len]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gir_ffi-0.1.0 lib/ffi-glib/byte_array.rb