Class CompressionUtil
- java.lang.Object
-
- io.netty.handler.codec.compression.CompressionUtil
-
final class CompressionUtil extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static intDEFAULT_MAX_FORWARD_BYTES
-
Constructor Summary
Constructors Modifier Constructor Description privateCompressionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static voidcheckChecksum(ByteBufChecksum checksum, ByteBuf uncompressed, int currentChecksum)(package private) static java.nio.ByteBuffersafeNioBuffer(ByteBuf buffer, int index, int length)(package private) static java.nio.ByteBuffersafeReadableNioBuffer(ByteBuf buffer)
-
-
-
Method Detail
-
checkChecksum
static void checkChecksum(ByteBufChecksum checksum, ByteBuf uncompressed, int currentChecksum)
-
safeReadableNioBuffer
static java.nio.ByteBuffer safeReadableNioBuffer(ByteBuf buffer)
-
safeNioBuffer
static java.nio.ByteBuffer safeNioBuffer(ByteBuf buffer, int index, int length)
-
-