public class StreamCompressionSerializer
extends java.lang.Object
| Constructor and Description |
|---|
StreamCompressionSerializer(io.netty.buffer.ByteBufAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
deserialize(net.jpountz.lz4.LZ4SafeDecompressor decompressor,
DataInputPlus in,
int version) |
static AsyncStreamingOutputPlus.Write |
serialize(net.jpountz.lz4.LZ4Compressor compressor,
java.nio.ByteBuffer in,
int version) |
public StreamCompressionSerializer(io.netty.buffer.ByteBufAllocator allocator)
public static AsyncStreamingOutputPlus.Write serialize(net.jpountz.lz4.LZ4Compressor compressor, java.nio.ByteBuffer in, int version)
public io.netty.buffer.ByteBuf deserialize(net.jpountz.lz4.LZ4SafeDecompressor decompressor,
DataInputPlus in,
int version)
throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2020 The Apache Software Foundation