Package io.bytestreams.codec.core
Class NotImplementedCodec<V>
java.lang.Object
io.bytestreams.codec.core.NotImplementedCodec<V>
- Type Parameters:
V- the value type
- All Implemented Interfaces:
Codec<V>
A codec that always throws, indicating no implementation has been provided.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(InputStream input) Decodes a value from the input stream.encode(V value, OutputStream output) Encodes the given value and writes it to the output stream.