Class GzipStatefulCodec
java.lang.Object
io.datarouter.bytes.compress.gzip.GzipStatefulCodec
- All Implemented Interfaces:
Codec<byte[],byte[]>
Currently reuses ByteArrayOutputStreams.
Could be enhanced to reuse the Gzip streams, but that is non-trivial.
Not thread safe.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic classNested classes/interfaces inherited from interface io.datarouter.bytes.Codec
Codec.FunctionalCodec<A,B>, Codec.NullPassthroughCodec<A, B> -
Field Summary
Fields inherited from interface io.datarouter.bytes.Codec
IDENTITY_INSTANCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.bytes.Codec
encodeAndDecode