- Companion:
- class
Type members
Classlikes
Responsible for providing an Output that produces instances of T.
Responsible for providing an Output that produces instances of T.
Responsible for providing an Output that outputs into the given value T.
Responsible for providing an Output that outputs into the given value T.
Inherited classlikes
Default, mutable implementation for serializing to plain byte arrays.
Default, mutable implementation for serializing to plain byte arrays.
- Inherited from:
- ToByteArrayOutput
Default, mutable implementation for serializing to java.nio.ByteBuffer instances.
Default, mutable implementation for serializing to java.nio.ByteBuffer instances.
- Inherited from:
- ToByteBufferOutput
Default, mutable implementation for serializing to a given File.
Default, mutable implementation for serializing to a given File.
- Inherited from:
- ToFileOutput
Default, mutable implementation for serializing to OutputStream instances.
Default, mutable implementation for serializing to OutputStream instances.
NOTE: The given OutputStream is NOT closed at the end of the encoding run!
- Inherited from:
- ToOutputStreamOutput
Simple NOP output that doesn't actually write anything and always produces Unit
.
Useful for running an encoding purely for its side effects, e.g. logging or validation.
Simple NOP output that doesn't actually write anything and always produces Unit
.
Useful for running an encoding purely for its side effects, e.g. logging or validation.
- Inherited from:
- ToUnitOutput