ean-epc
Version:
EPC Tag Data Standard encoding and decoding library, written in javascript
14 lines (11 loc) • 317 B
JavaScript
/*
* EPC Tag Data Standard
* 2021 Sergio S. - https://github.com/sergiss/epc-tds
*/
import { Segment } from './segment';
export class Partition {
constructor(offset, bits1, digits1, bits2, digits2) {
this.a = new Segment(offset, bits1, digits1);
this.b = new Segment(this.a.end, bits2, digits2);
}
}