nv-facutil-varint-length
v1.0.2
Published
nv-facutil-varint-length ======================= - several simple functioin to handle 【16. Variable-Length Integer Encoding】 of rfc9000
Downloads
1
Readme
nv-facutil-varint-length
several simple functioin to handle 【16. Variable-Length Integer Encoding】 of rfc9000
/* 00 1 6 0-63 01 2 14 0-16383 10 4 30 0-1073741823 11 8 62 0-4611686018427387903 */
normally useless.
install
- npm install nv-facutil-varint-length
usage
const {dv,n2n } = require("nv-facutil-varint-length");
example
0
0_0
0_1
1
1_0
1_1
METHODS
APIS
{
n2n: {
HEAD2B: 16384,
HEAD4B: 2147483648,
MAX2B_AFT_ENCD: 32767,
MAX4B_AFT_ENCD: 3221225471,
HEAD_BI2B: 16384n,
HEAD_BI4B: 2147483648n,
HEAD_BI8B: 13835058055282163712n,
ser32: [Function: ser32],
ser: [Function: ser],
der32: [Function: der32],
der: [Function: der]
},
dv: {
ser32: [Function: ser32],
ser: [Function: ser],
der: [Function: der]
}
}
LICENSE
- ISC