Uses of Record Class
io.bytestreams.codec.core.EncodeResult
Packages that use EncodeResult
-
Uses of EncodeResult in io.bytestreams.codec.core
Fields in io.bytestreams.codec.core declared as EncodeResultModifier and TypeFieldDescriptionstatic final EncodeResultEncodeResult.EMPTYAn empty result representing zero count and zero bytes written.Methods in io.bytestreams.codec.core that return EncodeResultModifier and TypeMethodDescriptionBinaryCodec.encode(byte[] value, OutputStream output) Encodes the given value and writes it to the output stream.BinaryNumberCodec.encode(V value, OutputStream output) Encodes the given value and writes it to the output stream.BooleanCodec.encode(Boolean value, OutputStream output) ChoiceCodec.encode(V value, OutputStream output) Codec.encode(V value, OutputStream output) Encodes the given value and writes it to the output stream.ConstantCodec.encode(byte[] value, OutputStream output) Encodes the given value and writes it to the output stream.FixedCodePointStringCodec.encode(String value, OutputStream output) Encodes the given value and writes it to the output stream.FixedHexStringCodec.encode(String value, OutputStream output) Encodes the given value and writes it to the output stream.FixedListCodec.encode(List<V> values, OutputStream output) Encodes the given value and writes it to the output stream.LazyCodec.encode(V value, OutputStream output) NotImplementedCodec.encode(V value, OutputStream output) PairCodec.encode(Pair<A, B> value, OutputStream output) RecordingCodec.encode(Recorded<T> value, OutputStream output) SequentialObjectCodec.encode(T value, OutputStream output) StreamCodePointStringCodec.encode(String value, OutputStream output) Encodes the given value and writes it to the output stream.StreamHexStringCodec.encode(String value, OutputStream output) Encodes the given value and writes it to the output stream.StreamListCodec.encode(List<V> values, OutputStream output) Encodes the given value and writes it to the output stream.TaggedObjectCodec.encode(T value, OutputStream output) VariableByteLengthCodec.encode(V value, OutputStream output) Encodes the given value and writes it to the output stream.VariableItemLengthCodec.encode(V value, OutputStream output) Encodes the given value and writes it to the output stream.static EncodeResultEncodeResult.ofBytes(int bytes) Creates a result where the logical count equals the byte count.