Package org.infinispan.protostream
Interface TagWriter
-
- All Superinterfaces:
RawProtoStreamWriter
- All Known Implementing Classes:
TagWriterImpl
public interface TagWriter extends RawProtoStreamWriter
- Since:
- 4.4
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflush()voidwriteBool(int number, boolean value)voidwriteBytes(int number, byte[] value)voidwriteBytes(int number, byte[] value, int offset, int length)voidwriteBytes(int number, ByteBuffer value)Write field tag and all remaining bytes from current buffer position.voidwriteDouble(int number, double value)voidwriteEnum(int number, int value)voidwriteFixed32(int number, int value)voidwriteFixed64(int number, long value)voidwriteFloat(int number, float value)voidwriteInt32(int number, int value)voidwriteInt64(int number, long value)voidwriteRawBytes(byte[] value, int offset, int length)voidwriteSFixed32(int number, int value)voidwriteSFixed64(int number, long value)voidwriteSInt32(int number, int value)voidwriteSInt64(int number, long value)voidwriteString(int number, String value)voidwriteTag(int number, int wireType)voidwriteTag(int number, WireType wireType)voidwriteUInt32(int number, int value)voidwriteUInt64(int number, long value)voidwriteVarint32(int value)voidwriteVarint64(long value)-
Methods inherited from interface org.infinispan.protostream.RawProtoStreamWriter
writeRawByte, writeRawBytes, writeUInt32NoTag, writeUInt64NoTag
-
-
-
-
Method Detail
-
flush
void flush() throws IOException- Specified by:
flushin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeTag
void writeTag(int number, int wireType) throws IOException- Specified by:
writeTagin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeTag
void writeTag(int number, WireType wireType) throws IOException- Specified by:
writeTagin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeVarint32
void writeVarint32(int value) throws IOException- Specified by:
writeVarint32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeVarint64
void writeVarint64(long value) throws IOException- Specified by:
writeVarint64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeRawBytes
void writeRawBytes(byte[] value, int offset, int length) throws IOException- Specified by:
writeRawBytesin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeString
void writeString(int number, String value) throws IOException- Specified by:
writeStringin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeInt32
void writeInt32(int number, int value) throws IOException- Specified by:
writeInt32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeUInt32
void writeUInt32(int number, int value) throws IOException- Specified by:
writeUInt32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeSInt32
void writeSInt32(int number, int value) throws IOException- Specified by:
writeSInt32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeFixed32
void writeFixed32(int number, int value) throws IOException- Specified by:
writeFixed32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeSFixed32
void writeSFixed32(int number, int value) throws IOException- Specified by:
writeSFixed32in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeInt64
void writeInt64(int number, long value) throws IOException- Specified by:
writeInt64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeUInt64
void writeUInt64(int number, long value) throws IOException- Specified by:
writeUInt64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeSInt64
void writeSInt64(int number, long value) throws IOException- Specified by:
writeSInt64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeFixed64
void writeFixed64(int number, long value) throws IOException- Specified by:
writeFixed64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeSFixed64
void writeSFixed64(int number, long value) throws IOException- Specified by:
writeSFixed64in interfaceRawProtoStreamWriter- Throws:
IOException
-
writeEnum
void writeEnum(int number, int value) throws IOException- Specified by:
writeEnumin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeBool
void writeBool(int number, boolean value) throws IOException- Specified by:
writeBoolin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeDouble
void writeDouble(int number, double value) throws IOException- Specified by:
writeDoublein interfaceRawProtoStreamWriter- Throws:
IOException
-
writeFloat
void writeFloat(int number, float value) throws IOException- Specified by:
writeFloatin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeBytes
void writeBytes(int number, ByteBuffer value) throws IOExceptionDescription copied from interface:RawProtoStreamWriterWrite field tag and all remaining bytes from current buffer position.- Specified by:
writeBytesin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value) throws IOException- Specified by:
writeBytesin interfaceRawProtoStreamWriter- Throws:
IOException
-
writeBytes
void writeBytes(int number, byte[] value, int offset, int length) throws IOException- Specified by:
writeBytesin interfaceRawProtoStreamWriter- Throws:
IOException
-
-