UNPKG
@stricahq/cbors
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
cbor encoder and decoder with annotation
github.com/StricaHQ/cbors
StricaHQ/cbors
@stricahq/cbors
/
dist
/
CborMap.js
16 lines
(15 loc)
•
345 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"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
;