| 限定符和类型 | 字段和说明 |
|---|---|
protected static Crc32Checker |
checker |
| 构造器和说明 |
|---|
Crc32Checker() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Crc32Checker |
getInstance() |
int |
getSize() |
long |
getValue(byte[] datagram,
int start,
int length) |
void |
setValue(byte[] datagram,
Class<?> protocolClass) |
void |
setValue(byte[] datagram,
int byteOffset,
int start,
int length,
EndianPolicy policy) |
boolean |
validate(byte[] datagram,
Class<?> protocolClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInstanceprotected static final Crc32Checker checker
public static Crc32Checker getInstance()
public boolean validate(byte[] datagram,
Class<?> protocolClass)
public long getValue(byte[] datagram,
int start,
int length)
public void setValue(byte[] datagram,
int byteOffset,
int start,
int length,
EndianPolicy policy)
Copyright © 2019–2021 indunet. All rights reserved.