org.msgpack.unpacker
Interface BufferUnpacker

All Superinterfaces:
Closeable, Iterable<Value>, Unpacker
All Known Implementing Classes:
JSONBufferUnpacker, MessagePackBufferUnpacker

public interface BufferUnpacker
extends Unpacker

This class is buffer-specific deserializer.

Version:
0.6.0
See Also:
org.msgpack.packer.Unpacker}

Method Summary
 void clear()
           
 BufferUnpacker feed(byte[] b)
           
 BufferUnpacker feed(byte[] b, boolean nocopy)
           
 BufferUnpacker feed(byte[] b, int off, int len)
           
 BufferUnpacker feed(byte[] b, int off, int len, boolean nocopy)
           
 BufferUnpacker feed(ByteBuffer b)
           
 BufferUnpacker feed(ByteBuffer buf, boolean nocopy)
           
 BufferUnpacker wrap(byte[] b)
           
 BufferUnpacker wrap(byte[] b, int off, int len)
           
 BufferUnpacker wrap(ByteBuffer buf)
           
 
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
 

Method Detail

wrap

BufferUnpacker wrap(byte[] b)

wrap

BufferUnpacker wrap(byte[] b,
                    int off,
                    int len)

wrap

BufferUnpacker wrap(ByteBuffer buf)

feed

BufferUnpacker feed(byte[] b)

feed

BufferUnpacker feed(byte[] b,
                    boolean nocopy)

feed

BufferUnpacker feed(byte[] b,
                    int off,
                    int len)

feed

BufferUnpacker feed(byte[] b,
                    int off,
                    int len,
                    boolean nocopy)

feed

BufferUnpacker feed(ByteBuffer b)

feed

BufferUnpacker feed(ByteBuffer buf,
                    boolean nocopy)

clear

void clear()


Copyright © 2011. All Rights Reserved.