| Package | Description |
|---|---|
| org.rdfhdt.hdt.util.crc |
| Modifier and Type | Class and Description |
|---|---|
class |
CRC16
CRC16-ANSI
Width = 16
Poly = 0x8005
XorIn = 0x0000
ReflectIn = True
XorOut = 0x0000
ReflectOut = True
|
class |
CRC32
Implementation of CRC32-C Algorithm.
|
class |
CRC8
CRC8-CCIT Algorithm
Width = 8
Poly = 0x07
XorIn = 0x00
ReflectIn = False
XorOut = 0x00
ReflectOut = False
|
| Modifier and Type | Field and Description |
|---|---|
protected CRC |
CRCOutputStream.crc |
protected CRC |
CRCInputStream.crc |
| Modifier and Type | Method and Description |
|---|---|
CRC |
CRCOutputStream.getCRC()
Get the existing crc
|
CRC |
CRCInputStream.getCRC() |
| Modifier and Type | Method and Description |
|---|---|
int |
CRC32.compareTo(CRC o) |
int |
CRC16.compareTo(CRC o) |
int |
CRC8.compareTo(CRC o) |
void |
CRCOutputStream.setCRC(CRC crc)
Set a new CRC generator from the current byte onwards.
|
void |
CRCInputStream.setCRC(CRC crc)
Set a new CRC generator from the current read byte onwards.
|
| Constructor and Description |
|---|
CRCInputStream(InputStream in,
CRC crc)
Create a CRCInputStream using the specified CRC generator
|
CRCOutputStream(OutputStream out,
CRC crc)
Create a new CRCOutputStream using the selected CRC generator
|
Copyright © 2018 DataWeb Research. All rights reserved.