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
206 207 208 |
# File 'lib/chordsketch_uniffi.rb', line 206 def data self[:data] end |
#len ⇒ Object
202 203 204 |
# File 'lib/chordsketch_uniffi.rb', line 202 def len self[:len] end |
#to_s ⇒ Object
210 211 212 |
# File 'lib/chordsketch_uniffi.rb', line 210 def to_s "ForeignBytes(len=#{len}, data=#{data.read_bytes(len)})" end |