Table of contents
Namespace: Com\Tecnick\Barcode\Type\Linear
trait FixedLengthCheckDigit
Source: src/Type/Linear/FixedLengthCheckDigit.php:42
FixedLengthCheckDigit trait
Shared by the symbologies of a fixed digit count whose last digit is a check digit: the input is either the data digits, which get the check digit appended, or the whole code, which must carry the right one. A shorter input is left padded with zeros. The types belong to different hierarchies, so the rule is shared here.