public interface ProtoStreamWriter
extends org.infinispan.protostream.RawProtoStreamWriter
RawProtoStreamWriter with the additional ability to write an arbitrary embedded object.| Modifier and Type | Method and Description |
|---|---|
org.infinispan.protostream.ImmutableSerializationContext |
getSerializationContext() |
void |
writeBoolNoTag(boolean value) |
void |
writeDoubleNoTag(double value) |
<E extends Enum<E>> |
writeEnum(int index,
E value) |
void |
writeFloatNoTag(float value) |
void |
writeObject(int index,
Object value) |
void |
writeObjectNoTag(Object value) |
void |
writeRawByte(byte value) |
void |
writeSInt32NoTag(int value) |
void |
writeSInt64NoTag(long value) |
void |
writeStringNoTag(String value) |
flush, writeBool, writeBytes, writeBytes, writeBytes, writeDouble, writeEnum, writeFixed32, writeFixed64, writeFloat, writeInt32, writeInt64, writeRawBytes, writeSFixed32, writeSFixed64, writeSInt32, writeSInt64, writeString, writeTag, writeUInt32, writeUInt32NoTag, writeUInt64, writeUInt64NoTagorg.infinispan.protostream.ImmutableSerializationContext getSerializationContext()
void writeObject(int index,
Object value)
throws IOException
IOExceptionvoid writeObjectNoTag(Object value) throws IOException
IOException<E extends Enum<E>> void writeEnum(int index, E value) throws IOException
IOExceptionvoid writeBoolNoTag(boolean value)
throws IOException
IOExceptionvoid writeSInt32NoTag(int value)
throws IOException
IOExceptionvoid writeSInt64NoTag(long value)
throws IOException
IOExceptionvoid writeFloatNoTag(float value)
throws IOException
IOExceptionvoid writeDoubleNoTag(double value)
throws IOException
IOExceptionvoid writeStringNoTag(String value) throws IOException
IOExceptionvoid writeRawByte(byte value)
throws IOException
IOExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.