org.msgpack.unpacker
Class MessagePackUnpacker
java.lang.Object
org.msgpack.unpacker.AbstractUnpacker
org.msgpack.unpacker.MessagePackUnpacker
- All Implemented Interfaces:
- Closeable, Iterable<Value>, Unpacker
- Direct Known Subclasses:
- MessagePackBufferUnpacker
public class MessagePackUnpacker
- extends AbstractUnpacker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
protected final Input in
MessagePackUnpacker
public MessagePackUnpacker(MessagePack msgpack,
InputStream stream)
MessagePackUnpacker
protected MessagePackUnpacker(MessagePack msgpack,
Input in)
tryReadNil
protected boolean tryReadNil()
throws IOException
- Specified by:
tryReadNil
in class AbstractUnpacker
- Throws:
IOException
trySkipNil
public boolean trySkipNil()
throws IOException
- Throws:
IOException
readNil
public void readNil()
throws IOException
- Throws:
IOException
readBoolean
public boolean readBoolean()
throws IOException
- Throws:
IOException
readByte
public byte readByte()
throws IOException
- Throws:
IOException
readShort
public short readShort()
throws IOException
- Throws:
IOException
readInt
public int readInt()
throws IOException
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Throws:
IOException
readBigInteger
public BigInteger readBigInteger()
throws IOException
- Throws:
IOException
readFloat
public float readFloat()
throws IOException
- Throws:
IOException
readDouble
public double readDouble()
throws IOException
- Throws:
IOException
readByteArray
public byte[] readByteArray()
throws IOException
- Throws:
IOException
readString
public String readString()
throws IOException
- Throws:
IOException
readArrayBegin
public int readArrayBegin()
throws IOException
- Throws:
IOException
readArrayEnd
public void readArrayEnd(boolean check)
throws IOException
- Throws:
IOException
readMapBegin
public int readMapBegin()
throws IOException
- Throws:
IOException
readMapEnd
public void readMapEnd(boolean check)
throws IOException
- Throws:
IOException
readValue
protected void readValue(Unconverter uc)
throws IOException
- Specified by:
readValue
in class AbstractUnpacker
- Throws:
IOException
skip
public void skip()
throws IOException
- Throws:
IOException
reset
public void reset()
close
public void close()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.