Class SizeComputingProtoStreamWriter

All Implemented Interfaces:
Function<Object,OptionalInt>, Supplier<OptionalInt>, org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext, org.infinispan.protostream.TagWriter, ProtoStreamOperation, ProtoStreamWriter

public class SizeComputingProtoStreamWriter extends AbstractProtoStreamWriter implements Supplier<OptionalInt>, Function<Object,OptionalInt>
A ProtoStreamWriter implementation used to compute the number of bytes that would be written to a stream.
Author:
Paul Ferraro