public class ZlibCodec extends Object implements ICodec<byte[],ByteBuffer>
class
for compressors and decompressors transforming an
array of bytes in the zlib
compression format into a ByteBuffer
.Modifier and Type | Class and Description |
---|---|
static class |
ZlibCodec.Mode
Modes determining how the
zlib compressors and
decompressors should work.
|
Constructor and Description |
---|
ZlibCodec() |
Modifier and Type | Method and Description |
---|---|
Class<byte[]> |
getInboundType()
Returns the type of the accepted inbound objects.
|
Class<ByteBuffer> |
getOutboundType()
Returns the type of the produced outbound objects.
|
public Class<byte[]> getInboundType()
ICodec
getInboundType
in interface ICodec<byte[],ByteBuffer>
public Class<ByteBuffer> getOutboundType()
ICodec
getOutboundType
in interface ICodec<byte[],ByteBuffer>
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.