Class: Babeltrace::CTF::ArrayTextDef
- Inherits:
-
Definition
- Object
- Definition
- Babeltrace::CTF::ArrayTextDef
- Defined in:
- lib/babeltrace/ctf/events.rb
Instance Attribute Summary
Attributes inherited from Definition
Instance Method Summary collapse
Methods inherited from Definition
create, #decl, #initialize, #name
Constructor Details
This class inherits a constructor from Babeltrace::CTF::Definition
Instance Method Details
#len ⇒ Object
393 394 395 |
# File 'lib/babeltrace/ctf/events.rb', line 393 def len @definition.decl.array_len end |
#value ⇒ Object
397 398 399 |
# File 'lib/babeltrace/ctf/events.rb', line 397 def value @definition.get_char_array.read_bytes(len) end |