UNPKG

@stricahq/cbors

Version:

cbor encoder and decoder with annotation

16 lines (15 loc) 345 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class CborMap extends Map { constructor() { super(...arguments); this.byteSpan = [0, 0]; } setByteSpan(byteSpan) { this.byteSpan = byteSpan; } getByteSpan() { return this.byteSpan; } } exports.default = CborMap;