UNPKG

@ombori/epc-ean

Version:

EPC Tag Data Standard encoding and decoding library, written in javascript

16 lines (15 loc) 479 B
"use strict"; /* * EPC Tag Data Standard * 2021 Sergio S. - https://github.com/sergiss/epc-tds */ Object.defineProperty(exports, "__esModule", { value: true }); exports.Partition = void 0; const segment_1 = require("./segment"); class Partition { constructor(offset, bits1, digits1, bits2, digits2) { this.a = new segment_1.Segment(offset, bits1, digits1); this.b = new segment_1.Segment(this.a.end, bits2, digits2); } } exports.Partition = Partition;