Package org.infinispan.protostream.impl
Class TagWriterImpl.OutputStreamNoBufferEncoder
java.lang.Object
org.infinispan.protostream.impl.TagWriterImpl.Encoder
org.infinispan.protostream.impl.TagWriterImpl.OutputStreamNoBufferEncoder
- Enclosing class:
TagWriterImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidflush()Commits the witten bytes after several write operations were performed.(package private) voidwriteByte(byte value) (package private) voidwriteBytes(byte[] value, int offset, int length) (package private) voidwriteBytes(ByteBuffer value) (package private) voidwriteFixed32(int value) (package private) voidwriteFixed64(long value) (package private) voidwriteVarint32(int value) (package private) voidwriteVarint64(long value) Methods inherited from class org.infinispan.protostream.impl.TagWriterImpl.Encoder
writeBoolField, writeFixed32Field, writeFixed64Field, writeLengthDelimitedField, writeUInt32Field, writeUInt64Field
-
Field Details
-
out
-
-
Constructor Details
-
OutputStreamNoBufferEncoder
-
-
Method Details
-
writeVarint32
- Specified by:
writeVarint32in classTagWriterImpl.Encoder- Throws:
IOException
-
writeVarint64
- Specified by:
writeVarint64in classTagWriterImpl.Encoder- Throws:
IOException
-
writeFixed32
- Specified by:
writeFixed32in classTagWriterImpl.Encoder- Throws:
IOException
-
writeFixed64
- Specified by:
writeFixed64in classTagWriterImpl.Encoder- Throws:
IOException
-
writeByte
- Specified by:
writeBytein classTagWriterImpl.Encoder- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classTagWriterImpl.Encoder- Throws:
IOException
-
writeBytes
- Specified by:
writeBytesin classTagWriterImpl.Encoder- Throws:
IOException
-
flush
Description copied from class:TagWriterImpl.EncoderCommits the witten bytes after several write operations were performed. Updates counters, positions, whatever.- Overrides:
flushin classTagWriterImpl.Encoder- Throws:
IOException
-