Class: Baikal::Hexdump::Row
- Inherits:
-
Object
- Object
- Baikal::Hexdump::Row
- Defined in:
- lib/baikal/hexdump.rb
Overview
Represents the row currently being processed by hexdump.
Instance Attribute Summary collapse
-
#data ⇒ Object
Bytes of this row in an
Arrayinstance. -
#expected_size ⇒ Object
The row’s expected size, as per Hexdump::Format#bytes_per_row.
-
#offset ⇒ Object
Offset of the first byte on this row.
Instance Attribute Details
#data ⇒ Object
Bytes of this row in an Array instance. For the last row, some of the trailing elements may be nil.
49 50 51 |
# File 'lib/baikal/hexdump.rb', line 49 def data @data end |
#expected_size ⇒ Object
The row’s expected size, as per Hexdump::Format#bytes_per_row.
43 44 45 |
# File 'lib/baikal/hexdump.rb', line 43 def expected_size @expected_size end |
#offset ⇒ Object
Offset of the first byte on this row.
38 39 40 |
# File 'lib/baikal/hexdump.rb', line 38 def offset @offset end |