private static final class ByteBufChecksum.ReflectiveByteBufChecksum extends ByteBufChecksum.SlowByteBufChecksum
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
method |
checksum
Constructor and Description |
---|
ReflectiveByteBufChecksum(java.util.zip.Checksum checksum,
java.lang.reflect.Method method) |
Modifier and Type | Method and Description |
---|---|
void |
update(ByteBuf b,
int off,
int len) |
getValue, reset, update, update
wrapChecksum
ReflectiveByteBufChecksum(java.util.zip.Checksum checksum, java.lang.reflect.Method method)
public void update(ByteBuf b, int off, int len)
update
in class ByteBufChecksum
Checksum.update(byte[], int, int)