@stricahq/cbors
Version:
cbor encoder and decoder with annotation
16 lines (15 loc) • 351 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class CborArray extends Array {
constructor() {
super(...arguments);
this.byteSpan = [0, 0];
}
setByteSpan(byteSpan) {
this.byteSpan = byteSpan;
}
getByteSpan() {
return this.byteSpan;
}
}
exports.default = CborArray;