/** * Represents the Extended Channel Interpretation (ECI) information within a barcode. * * Each ECI segment specifies the character encoding used for a portion of the decoded bytes. * The charset names follow the IANA character set registry (e.g. "UTF-8", "ISO-8859-1"). */ export interface ECISegment { /** * ECI assignment number as defined by ISO/IEC 15424. */ eciValue: number; /** * Charset encoding name defined by IANA (e.g. "UTF-8", "ISO-8859-1"). */ charsetEncoding: string; /** * Start index of this ECI segment in the decoded barcode bytes. */ startIndex: number; /** * Length (in bytes) of this segment within the decoded barcode bytes. */ length: number; }