public class SizeComputingProtoStreamWriter extends AbstractProtoStreamWriter implements Supplier<OptionalInt>
ProtoStreamOperation.Context| Constructor and Description |
|---|
SizeComputingProtoStreamWriter(org.infinispan.protostream.ImmutableSerializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
OptionalInt |
get() |
void |
writeObjectNoTag(Object value)
Writes the specified object.
|
flush, getWriter, writeBool, writeBytes, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeRawByte, writeRawBytes, writeRawBytes, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeTag, writeTag, writeUInt32, writeUInt64, writeVarint32, writeVarint64getParam, getSerializationContext, setParamclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, writeAny, writeEnum, writeObjectfindMarshaller, getSerializationContextpublic SizeComputingProtoStreamWriter(org.infinispan.protostream.ImmutableSerializationContext context)
public OptionalInt get()
get in interface Supplier<OptionalInt>public void writeObjectNoTag(Object value) throws IOException
ProtoStreamWriterTagWriter.writeTag(int, org.infinispan.protostream.descriptors.WireType).writeObjectNoTag in interface ProtoStreamWritervalue - a value to be writtenIOException - if no marshaller is associated with the type of the specified object, or if the marshaller fails to write the specified objectCopyright © 2021 JBoss by Red Hat. All rights reserved.