Class: Chordsketch::UniFFILib::ForeignBytes

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

Instance Method Summary collapse

Instance Method Details

#dataObject



206
207
208
# File 'lib/chordsketch_uniffi.rb', line 206

def data
  self[:data]
end

#lenObject



202
203
204
# File 'lib/chordsketch_uniffi.rb', line 202

def len
  self[:len]
end

#to_sObject



210
211
212
# File 'lib/chordsketch_uniffi.rb', line 210

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