Class: Chordsketch::UniFFILib::ForeignBytes
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Chordsketch::UniFFILib::ForeignBytes
- Defined in:
- lib/chordsketch_uniffi.rb
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
288 289 290 |
# File 'lib/chordsketch_uniffi.rb', line 288 def data self[:data] end |
#len ⇒ Object
284 285 286 |
# File 'lib/chordsketch_uniffi.rb', line 284 def len self[:len] end |
#to_s ⇒ Object
292 293 294 |
# File 'lib/chordsketch_uniffi.rb', line 292 def to_s "ForeignBytes(len=#{len}, data=#{data.read_bytes(len)})" end |