org.msgpack.packer
Class MessagePackBufferPacker

java.lang.Object
  extended by org.msgpack.packer.AbstractPacker
      extended by org.msgpack.packer.MessagePackPacker
          extended by org.msgpack.packer.MessagePackBufferPacker
All Implemented Interfaces:
Closeable, Flushable, BufferPacker, Packer

public class MessagePackBufferPacker
extends MessagePackPacker
implements BufferPacker


Field Summary
 
Fields inherited from class org.msgpack.packer.MessagePackPacker
out
 
Fields inherited from class org.msgpack.packer.AbstractPacker
msgpack
 
Constructor Summary
MessagePackBufferPacker(MessagePack msgpack)
           
MessagePackBufferPacker(MessagePack msgpack, int bufferSize)
           
 
Method Summary
 void clear()
           
 byte[] toByteArray()
           
 
Methods inherited from class org.msgpack.packer.MessagePackPacker
close, flush, reset, writeArrayBegin, writeArrayEnd, writeBigInteger, writeBoolean, writeByte, writeByteArray, writeByteBuffer, writeDouble, writeFloat, writeInt, writeLong, writeMapBegin, writeMapEnd, writeNil, writeShort, writeString
 
Methods inherited from class org.msgpack.packer.AbstractPacker
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeArrayEnd, writeByteArray, writeMapEnd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.packer.Packer
write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeArrayBegin, writeArrayEnd, writeArrayEnd, writeMapBegin, writeMapEnd, writeMapEnd, writeNil
 
Methods inherited from interface java.io.Closeable
close
 
Methods inherited from interface java.io.Flushable
flush
 

Constructor Detail

MessagePackBufferPacker

public MessagePackBufferPacker(MessagePack msgpack)

MessagePackBufferPacker

public MessagePackBufferPacker(MessagePack msgpack,
                               int bufferSize)
Method Detail

toByteArray

public byte[] toByteArray()
Specified by:
toByteArray in interface BufferPacker

clear

public void clear()
Specified by:
clear in interface BufferPacker


Copyright © 2011. All Rights Reserved.