Class: Zint::Structs::Structapp

Inherits:
FFI::Struct
  • Object
show all
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

Instance Method Details

#countObject

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

#idObject

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

#indexObject

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