Class: Chordsketch::UniFFILib::ForeignBytes

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/chordsketch_uniffi.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



308
309
310
# File 'lib/chordsketch_uniffi.rb', line 308

def data
  self[:data]
end

#lenObject



304
305
306
# File 'lib/chordsketch_uniffi.rb', line 304

def len
  self[:len]
end

#to_sObject



312
313
314
# File 'lib/chordsketch_uniffi.rb', line 312

def to_s
  "ForeignBytes(len=#{len}, data=#{data.read_bytes(len)})"
end