Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"crc32"
CRC32
Class CRC32
Hierarchy
CRC32
Index
Constructors
constructor
Properties
value
table
Methods
get
Value
get
Value32
reset
update
crc
update_
crc
Constructors
constructor
new CRC32
(
)
:
CRC32
Returns
CRC32
Properties
Private
value
value
:
Uint32Array
Static
Private
table
table
:
Uint32Array
= (() => {const t = new Uint32Array(256);for (let n = 0; n < 256; n++) {let c = n;for (let k = 0; k < 8; k++) {if ((c & 0x1) !== 0) {c = 0xedb88320 ^ (c >>> 1);} else {c >>>= 1;}}t[n] = c;}return t;})()
Methods
get
Value
get
Value
(
)
:
bigint
Returns
bigint
get
Value32
get
Value32
(
)
:
number
Returns
number
reset
reset
(
)
:
void
Returns
void
update
update
(
buf
:
number
|
ArrayBufferLike
|
ArrayBufferView
)
:
void
Parameters
buf:
number
|
ArrayBufferLike
|
ArrayBufferView
Returns
void
Static
crc
crc
(
buf
:
ArrayBufferLike
|
ArrayBufferView
)
:
number
Parameters
buf:
ArrayBufferLike
|
ArrayBufferView
Returns
number
Static
update_
crc
update_
crc
(
crc
:
number
, buf
:
number
|
ArrayBufferLike
|
ArrayBufferView
)
:
number
Parameters
crc:
number
buf:
number
|
ArrayBufferLike
|
ArrayBufferView
Returns
number
Globals
"crc32"
"data-
io"
"idpwmemo"
"mt19937ar"
"unkocrypto"
CRC32
constructor
value
table
get
Value
get
Value32
reset
update
crc
update_
crc
Generated using
TypeDoc