Package org.infinispan.protostream
Interface RawProtoStreamWriter
-
- All Known Implementing Classes:
RawProtoStreamWriterImpl
public interface RawProtoStreamWriter
- Since:
- 3.0
- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
flush()
void
writeBool(int number, boolean value)
void
writeBytes(int number, byte[] value)
void
writeBytes(int number, byte[] value, int offset, int length)
void
writeBytes(int number, ByteBuffer value)
void
writeDouble(int number, double value)
void
writeEnum(int number, int value)
void
writeFixed32(int number, int value)
void
writeFixed64(int number, long value)
void
writeFloat(int number, float value)
void
writeInt32(int number, int value)
void
writeInt64(int number, long value)
void
writeRawBytes(byte[] value, int offset, int length)
void
writeSFixed32(int number, int value)
void
writeSFixed64(int number, long value)
void
writeSInt32(int number, int value)
void
writeSInt64(int number, long value)
void
writeString(int number, String value)
void
writeTag(int number, int wireType)
void
writeUInt32(int number, int value)
void
writeUInt32NoTag(int value)
void
writeUInt64(int number, long value)
void
writeUInt64NoTag(long value)
-
-
-
Method Detail
-
flush
void flush() throws IOException
- Throws:
IOException
-
writeTag
void writeTag(int number, int wireType) throws IOException
- Throws:
IOException
-
writeUInt32NoTag
void writeUInt32NoTag(int value) throws IOException
- Throws:
IOException
-
writeUInt64NoTag
void writeUInt64NoTag(long value) throws IOException
- Throws:
IOException
-
writeString
void writeString(int number, String value) throws IOException
- Throws:
IOException
-
writeInt32
void writeInt32(int number, int value) throws IOException
- Throws:
IOException
-
writeFixed32
void writeFixed32(int number, int value) throws IOException
- Throws:
IOException
-
writeUInt32
void writeUInt32(int number, int value) throws IOException
- Throws:
IOException
-
writeSFixed32
void writeSFixed32(int number, int value) throws IOException
- Throws:
IOException
-
writeSInt32
void writeSInt32(int number, int value) throws IOException
- Throws:
IOException
-
writeInt64
void writeInt64(int number, long value) throws IOException
- Throws:
IOException
-
writeUInt64
void writeUInt64(int number, long value) throws IOException
- Throws:
IOException
-
writeFixed64
void writeFixed64(int number, long value) throws IOException
- Throws:
IOException
-
writeSFixed64
void writeSFixed64(int number, long value) throws IOException
- Throws:
IOException
-
writeSInt64
void writeSInt64(int number, long value) throws IOException
- Throws:
IOException
-
writeEnum
void writeEnum(int number, int value) throws IOException
- Throws:
IOException
-
writeBool
void writeBool(int number, boolean value) throws IOException
- Throws:
IOException
-
writeDouble
void writeDouble(int number, double value) throws IOException
- Throws:
IOException
-
writeFloat
void writeFloat(int number, float value) throws IOException
- Throws:
IOException
-
writeBytes
void writeBytes(int number, ByteBuffer value) throws IOException
- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value) throws IOException
- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value, int offset, int length) throws IOException
- Throws:
IOException
-
writeRawBytes
void writeRawBytes(byte[] value, int offset, int length) throws IOException
- Throws:
IOException
-
-