Package org.fusesource.hawtbuf.proto
Interface MessageBuffer<B,MB extends MessageBuffer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
serializedSizeFramed()
int
serializedSizeUnframed()
Buffer
toFramedBuffer()
byte[]
toFramedByteArray()
Buffer
toUnframedBuffer()
byte[]
toUnframedByteArray()
void
writeFramed(java.io.OutputStream output)
void
writeFramed(CodedOutputStream output)
void
writeUnframed(java.io.OutputStream output)
void
writeUnframed(CodedOutputStream output)
-
-
-
Method Detail
-
serializedSizeUnframed
int serializedSizeUnframed()
-
serializedSizeFramed
int serializedSizeFramed()
-
toUnframedBuffer
Buffer toUnframedBuffer()
-
toFramedBuffer
Buffer toFramedBuffer()
-
toUnframedByteArray
byte[] toUnframedByteArray()
-
toFramedByteArray
byte[] toFramedByteArray()
-
writeUnframed
void writeUnframed(CodedOutputStream output) throws java.io.IOException
- Throws:
java.io.IOException
-
writeFramed
void writeFramed(CodedOutputStream output) throws java.io.IOException
- Throws:
java.io.IOException
-
writeUnframed
void writeUnframed(java.io.OutputStream output) throws java.io.IOException
- Throws:
java.io.IOException
-
writeFramed
void writeFramed(java.io.OutputStream output) throws java.io.IOException
- Throws:
java.io.IOException
-
-