Libraries
bignum
binary
bitmap
ble
bytes
core
crypto
adler32
aes
blake2
chacha20
checksum
cmac
crc
ec
hamming
hkdf
hmac
md5
rsa
sha
sha1
sha256
siphash
device
encoding
esp32
expect
fixed-point
flash
font
gpio
i2c
i2s
icons
io
line-wrap
log
math
monitor
net
pulse-counter
reader
reader-writer
rmt
serial
spi
statistics
system
tls
uart
uuid
writer
zlib
Class Crc16Usb
extends
Crc
CRC-16/USB checksum state.
Class summary
Constructors
Statics
Methods
Fields
constructor
Constructors
constructor
Methods
add
data/
Data
->
none
Variant of
add data from to
.
add
data/
Data
from/
int
->
none
Variant of
add data from to
.
add
data/
Data
from/
int
to/
int
->
none
See
super
.
clone
->
Crc
get
->
ByteArray
See
super
.
Returns the checksum as a width/8 element byte array in the endian order that corresponds to the constructor used.
get-as-int
->
int
Returns the checksum as an integer.
hash-code
->
int
operator ==
other/
any
->
bool
stringify
->
string
Stringifies this object.
Inheritance
Objects that need a human-friendly string representation should overwrite this method. The default string is based on the internal class-ID.
Fields
little-endian
/
bool
inherited
polynomial
/
int
inherited
width
/
int
inherited
xor-result
/
int
inherited