Package org.infinispan.protostream
Interface RawProtoStreamWriter
-
- All Known Subinterfaces:
TagWriter
- All Known Implementing Classes:
TagWriterImpl
@Deprecated public interface RawProtoStreamWriter
Deprecated.replaced byTagWriter. To be removed in 5.0.Interface for direct write access to the protobuf data stream.- Since:
- 3.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidflush()Deprecated.voidwriteBool(int number, boolean value)Deprecated.voidwriteBytes(int number, byte[] value)Deprecated.voidwriteBytes(int number, byte[] value, int offset, int length)Deprecated.voidwriteBytes(int number, ByteBuffer value)Deprecated.Write field tag and all remaining bytes from current buffer position.voidwriteDouble(int number, double value)Deprecated.voidwriteEnum(int number, int value)Deprecated.voidwriteFixed32(int number, int value)Deprecated.voidwriteFixed64(int number, long value)Deprecated.voidwriteFloat(int number, float value)Deprecated.voidwriteInt32(int number, int value)Deprecated.voidwriteInt64(int number, long value)Deprecated.voidwriteRawByte(byte value)Deprecated.voidwriteRawBytes(byte[] value, int offset, int length)Deprecated.voidwriteRawBytes(ByteBuffer value)Deprecated.Write all remaining bytes from current buffer position.voidwriteSFixed32(int number, int value)Deprecated.voidwriteSFixed64(int number, long value)Deprecated.voidwriteSInt32(int number, int value)Deprecated.voidwriteSInt64(int number, long value)Deprecated.voidwriteString(int number, String value)Deprecated.voidwriteTag(int number, int wireType)Deprecated.voidwriteTag(int number, WireType wireType)Deprecated.voidwriteUInt32(int number, int value)Deprecated.default voidwriteUInt32NoTag(int value)Deprecated.voidwriteUInt64(int number, long value)Deprecated.default voidwriteUInt64NoTag(long value)Deprecated.voidwriteVarint32(int value)Deprecated.voidwriteVarint64(long value)Deprecated.
-
-
-
Method Detail
-
flush
void flush() throws IOExceptionDeprecated.- Throws:
IOException
-
writeTag
void writeTag(int number, int wireType) throws IOExceptionDeprecated.- Throws:
IOException
-
writeTag
void writeTag(int number, WireType wireType) throws IOExceptionDeprecated.- Throws:
IOException
-
writeUInt32NoTag
default void writeUInt32NoTag(int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeVarint32
void writeVarint32(int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeUInt64NoTag
default void writeUInt64NoTag(long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeVarint64
void writeVarint64(long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeString
void writeString(int number, String value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeInt32
void writeInt32(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeFixed32
void writeFixed32(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeUInt32
void writeUInt32(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeSFixed32
void writeSFixed32(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeSInt32
void writeSInt32(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeInt64
void writeInt64(int number, long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeUInt64
void writeUInt64(int number, long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeFixed64
void writeFixed64(int number, long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeSFixed64
void writeSFixed64(int number, long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeSInt64
void writeSInt64(int number, long value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeEnum
void writeEnum(int number, int value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeBool
void writeBool(int number, boolean value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeDouble
void writeDouble(int number, double value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeFloat
void writeFloat(int number, float value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeBytes
void writeBytes(int number, ByteBuffer value) throws IOExceptionDeprecated.Write field tag and all remaining bytes from current buffer position.- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value, int offset, int length) throws IOExceptionDeprecated.- Throws:
IOException
-
writeRawByte
void writeRawByte(byte value) throws IOExceptionDeprecated.- Throws:
IOException
-
writeRawBytes
void writeRawBytes(byte[] value, int offset, int length) throws IOExceptionDeprecated.- Throws:
IOException
-
writeRawBytes
void writeRawBytes(ByteBuffer value) throws IOException
Deprecated.Write all remaining bytes from current buffer position.- Throws:
IOException
-
-