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