UNPKG
simple-cbor
Version:
latest (0.4.1)
0.4.1
0.4.0
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
Encode and decode CBOR documents.
github.com/hansl/simple-cbor
hansl/simple-cbor
simple-cbor
/
encoders
/
bigint.d.ts
9 lines
(8 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
CborEncoder
,
CborValue
}
from
"../src/index"
;
export
declare
class
BigIntEncoder
implements
CborEncoder
<
BigInt
> {
constructor
(
);
readonly
name =
"bigint"
;
readonly
priority = -
10
;
match
(
value
:
any
):
boolean
;
encode
(
v
:
bigint
):
CborValue
; }