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:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
flush()
Deprecated.void
writeBool(int number, boolean value)
Deprecated.void
writeBytes(int number, byte[] value)
Deprecated.void
writeBytes(int number, byte[] value, int offset, int length)
Deprecated.void
writeBytes(int number, ByteBuffer value)
Deprecated.Write field tag and all remaining bytes from current buffer position.void
writeDouble(int number, double value)
Deprecated.void
writeEnum(int number, int value)
Deprecated.void
writeFixed32(int number, int value)
Deprecated.void
writeFixed64(int number, long value)
Deprecated.void
writeFloat(int number, float value)
Deprecated.void
writeInt32(int number, int value)
Deprecated.void
writeInt64(int number, long value)
Deprecated.void
writeRawByte(byte value)
Deprecated.void
writeRawBytes(byte[] value, int offset, int length)
Deprecated.void
writeRawBytes(ByteBuffer value)
Deprecated.Write all remaining bytes from current buffer position.void
writeSFixed32(int number, int value)
Deprecated.void
writeSFixed64(int number, long value)
Deprecated.void
writeSInt32(int number, int value)
Deprecated.void
writeSInt64(int number, long value)
Deprecated.void
writeString(int number, String value)
Deprecated.void
writeTag(int number, int wireType)
Deprecated.void
writeTag(int number, WireType wireType)
Deprecated.void
writeUInt32(int number, int value)
Deprecated.default void
writeUInt32NoTag(int value)
Deprecated.void
writeUInt64(int number, long value)
Deprecated.default void
writeUInt64NoTag(long value)
Deprecated.void
writeVarint32(int value)
Deprecated.void
writeVarint64(long value)
Deprecated.
-
-
-
Method Detail
-
flush
void flush() throws IOException
Deprecated.- Throws:
IOException
-
writeTag
void writeTag(int number, int wireType) throws IOException
Deprecated.- Throws:
IOException
-
writeTag
void writeTag(int number, WireType wireType) throws IOException
Deprecated.- Throws:
IOException
-
writeUInt32NoTag
default void writeUInt32NoTag(int value) throws IOException
Deprecated.- Throws:
IOException
-
writeVarint32
void writeVarint32(int value) throws IOException
Deprecated.- Throws:
IOException
-
writeUInt64NoTag
default void writeUInt64NoTag(long value) throws IOException
Deprecated.- Throws:
IOException
-
writeVarint64
void writeVarint64(long value) throws IOException
Deprecated.- Throws:
IOException
-
writeString
void writeString(int number, String value) throws IOException
Deprecated.- Throws:
IOException
-
writeInt32
void writeInt32(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeFixed32
void writeFixed32(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeUInt32
void writeUInt32(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeSFixed32
void writeSFixed32(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeSInt32
void writeSInt32(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeInt64
void writeInt64(int number, long value) throws IOException
Deprecated.- Throws:
IOException
-
writeUInt64
void writeUInt64(int number, long value) throws IOException
Deprecated.- Throws:
IOException
-
writeFixed64
void writeFixed64(int number, long value) throws IOException
Deprecated.- Throws:
IOException
-
writeSFixed64
void writeSFixed64(int number, long value) throws IOException
Deprecated.- Throws:
IOException
-
writeSInt64
void writeSInt64(int number, long value) throws IOException
Deprecated.- Throws:
IOException
-
writeEnum
void writeEnum(int number, int value) throws IOException
Deprecated.- Throws:
IOException
-
writeBool
void writeBool(int number, boolean value) throws IOException
Deprecated.- Throws:
IOException
-
writeDouble
void writeDouble(int number, double value) throws IOException
Deprecated.- Throws:
IOException
-
writeFloat
void writeFloat(int number, float value) throws IOException
Deprecated.- Throws:
IOException
-
writeBytes
void writeBytes(int number, ByteBuffer value) throws IOException
Deprecated.Write field tag and all remaining bytes from current buffer position.- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value) throws IOException
Deprecated.- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value, int offset, int length) throws IOException
Deprecated.- Throws:
IOException
-
writeRawByte
void writeRawByte(byte value) throws IOException
Deprecated.- Throws:
IOException
-
writeRawBytes
void writeRawBytes(byte[] value, int offset, int length) throws IOException
Deprecated.- Throws:
IOException
-
writeRawBytes
void writeRawBytes(ByteBuffer value) throws IOException
Deprecated.Write all remaining bytes from current buffer position.- Throws:
IOException
-
-