Class: Zint::Structs::Structapp
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Zint::Structs::Structapp
- Defined in:
- lib/zint/structs/structapp.rb
Overview
Structured Append info - ignored unless ‘zint_structapp.count` is set to non-zero value
Instance Method Summary collapse
-
#count ⇒ Object
Number of symbols in Structured Append sequence.
-
#id ⇒ Object
Optional ID to distinguish sequence, ASCII, NUL-terminated unless max 32 long.
-
#index ⇒ Object
Position in Structured Append sequence, 1-based.
Instance Method Details
#count ⇒ Object
Number of symbols in Structured Append sequence. Set >= 2 to add SA Info
15 16 17 |
# File 'lib/zint/structs/structapp.rb', line 15 def count self[:count] end |
#id ⇒ Object
Optional ID to distinguish sequence, ASCII, NUL-terminated unless max 32 long
20 21 22 |
# File 'lib/zint/structs/structapp.rb', line 20 def id self[:id] end |
#index ⇒ Object
Position in Structured Append sequence, 1-based. Must be <= ‘count`
10 11 12 |
# File 'lib/zint/structs/structapp.rb', line 10 def index self[:index] end |