@tjieco/library
Version:
TypeScript port of ZXing multi-format 1D/2D barcode image processing library, with Code128 and ITF support.
15 lines (14 loc) • 398 B
TypeScript
import GenericGF from './GenericGF';
/**
* <p>Implements Reed-Solomon encoding, as the name implies.</p>
*
* @author Sean Owen
* @author William Rucklidge
*/
export default class ReedSolomonEncoder {
private field;
private cachedGenerators;
constructor(field: GenericGF);
private buildGenerator(degree);
encode(toEncode: Int32Array, ecBytes: number): void;
}