org.msgpack.unpacker
Class MessagePackBufferUnpacker

java.lang.Object
  extended by org.msgpack.unpacker.AbstractUnpacker
      extended by org.msgpack.unpacker.MessagePackUnpacker
          extended by org.msgpack.unpacker.MessagePackBufferUnpacker
All Implemented Interfaces:
Closeable, Iterable<Value>, BufferUnpacker, Unpacker

public class MessagePackBufferUnpacker
extends MessagePackUnpacker
implements BufferUnpacker


Field Summary
 
Fields inherited from class org.msgpack.unpacker.MessagePackUnpacker
in
 
Fields inherited from class org.msgpack.unpacker.AbstractUnpacker
msgpack
 
Constructor Summary
MessagePackBufferUnpacker(MessagePack msgpack)
           
MessagePackBufferUnpacker(MessagePack msgpack, int bufferSize)
           
 
Method Summary
 void clear()
           
 MessagePackBufferUnpacker feed(byte[] b)
           
 MessagePackBufferUnpacker feed(byte[] b, boolean nocopy)
           
 MessagePackBufferUnpacker feed(byte[] b, int off, int len)
           
 MessagePackBufferUnpacker feed(byte[] b, int off, int len, boolean nocopy)
           
 MessagePackBufferUnpacker feed(ByteBuffer b)
           
 MessagePackBufferUnpacker feed(ByteBuffer buf, boolean nocopy)
           
 MessagePackBufferUnpacker wrap(byte[] b)
           
 MessagePackBufferUnpacker wrap(byte[] b, int off, int len)
           
 MessagePackBufferUnpacker wrap(ByteBuffer buf)
           
 
Methods inherited from class org.msgpack.unpacker.MessagePackUnpacker
close, readArrayBegin, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readNil, readShort, readString, readValue, reset, skip, tryReadNil, trySkipNil
 
Methods inherited from class org.msgpack.unpacker.AbstractUnpacker
iterator, read, read, read, read, readArrayEnd, readByteBuffer, readMapEnd, readValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.msgpack.unpacker.Unpacker
iterator, read, read, read, read, readArrayBegin, readArrayEnd, readArrayEnd, readBigInteger, readBoolean, readByte, readByteArray, readByteBuffer, readDouble, readFloat, readInt, readLong, readMapBegin, readMapEnd, readMapEnd, readNil, readShort, readString, readValue, skip, trySkipNil
 
Methods inherited from interface java.io.Closeable
close
 

Constructor Detail

MessagePackBufferUnpacker

public MessagePackBufferUnpacker(MessagePack msgpack)

MessagePackBufferUnpacker

public MessagePackBufferUnpacker(MessagePack msgpack,
                                 int bufferSize)
Method Detail

wrap

public MessagePackBufferUnpacker wrap(byte[] b)
Specified by:
wrap in interface BufferUnpacker

wrap

public MessagePackBufferUnpacker wrap(byte[] b,
                                      int off,
                                      int len)
Specified by:
wrap in interface BufferUnpacker

wrap

public MessagePackBufferUnpacker wrap(ByteBuffer buf)
Specified by:
wrap in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(byte[] b)
Specified by:
feed in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(byte[] b,
                                      boolean nocopy)
Specified by:
feed in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(byte[] b,
                                      int off,
                                      int len)
Specified by:
feed in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(byte[] b,
                                      int off,
                                      int len,
                                      boolean nocopy)
Specified by:
feed in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(ByteBuffer b)
Specified by:
feed in interface BufferUnpacker

feed

public MessagePackBufferUnpacker feed(ByteBuffer buf,
                                      boolean nocopy)
Specified by:
feed in interface BufferUnpacker

clear

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


Copyright © 2011. All Rights Reserved.