Class: Babeltrace::CTF::SequenceTextDef
- Inherits:
-
Definition
- Object
- Definition
- Babeltrace::CTF::SequenceTextDef
- 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
429 430 431 |
# File 'lib/babeltrace/ctf/events.rb', line 429 def len @definition.sequence_len end |
#value ⇒ Object
433 434 435 436 |
# File 'lib/babeltrace/ctf/events.rb', line 433 def value return "" if len == 0 @definition.get_char_sequence.read_bytes(len) end |