Uses of Enum Class
io.bytestreams.codec.core.Codecs.Termination
Packages that use Codecs.Termination
-
Uses of Codecs.Termination in io.bytestreams.codec.core
Subclasses with type arguments of type Codecs.Termination in io.bytestreams.codec.coreModifier and TypeClassDescriptionstatic enumPolicy for decoding a value whose terminator is absent at the end of the stream.Methods in io.bytestreams.codec.core that return Codecs.TerminationModifier and TypeMethodDescriptionstatic Codecs.TerminationReturns the enum constant of this class with the specified name.static Codecs.Termination[]Codecs.Termination.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.bytestreams.codec.core with parameters of type Codecs.TerminationModifier and TypeMethodDescriptionstatic <V> Codec<V> Codecs.terminated(Codec<V> valueCodec, byte[] terminator, Codecs.Termination termination) Creates a variable-length codec where the value is followed by a terminator, with an explicit policy for a final value that is not terminated.