org.msgpack.packer
Class Unconverter
java.lang.Object
org.msgpack.packer.AbstractPacker
org.msgpack.packer.Unconverter
- All Implemented Interfaces:
- Closeable, Flushable, Packer
public class Unconverter
- extends AbstractPacker
| 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, writeArrayEnd, writeByteArray, writeMapEnd |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Unconverter
public Unconverter()
Unconverter
public Unconverter(MessagePack msgpack)
getResult
public Value getResult()
resetResult
public void resetResult()
writeBoolean
public void writeBoolean(boolean v)
throws IOException
- Specified by:
writeBoolean in class AbstractPacker
- Throws:
IOException
writeByte
public void writeByte(byte v)
throws IOException
- Specified by:
writeByte in class AbstractPacker
- Throws:
IOException
writeShort
public void writeShort(short v)
throws IOException
- Specified by:
writeShort in class AbstractPacker
- Throws:
IOException
writeInt
public void writeInt(int v)
throws IOException
- Specified by:
writeInt in class AbstractPacker
- Throws:
IOException
writeBigInteger
public void writeBigInteger(BigInteger v)
throws IOException
- Specified by:
writeBigInteger in class AbstractPacker
- Throws:
IOException
writeLong
public void writeLong(long v)
throws IOException
- Specified by:
writeLong in class AbstractPacker
- Throws:
IOException
writeFloat
public void writeFloat(float v)
throws IOException
- Specified by:
writeFloat in class AbstractPacker
- Throws:
IOException
writeDouble
public void writeDouble(double v)
throws IOException
- Specified by:
writeDouble in class AbstractPacker
- Throws:
IOException
writeByteArray
public void writeByteArray(byte[] b,
int off,
int len)
throws IOException
- Specified by:
writeByteArray in class AbstractPacker
- Throws:
IOException
writeByteBuffer
public void writeByteBuffer(ByteBuffer bb)
throws IOException
- Specified by:
writeByteBuffer in class AbstractPacker
- Throws:
IOException
writeString
public void writeString(String s)
throws IOException
- Specified by:
writeString in class AbstractPacker
- Throws:
IOException
writeNil
public Packer writeNil()
throws IOException
- Throws:
IOException
writeArrayBegin
public Packer writeArrayBegin(int size)
throws IOException
- Throws:
IOException
writeArrayEnd
public Packer writeArrayEnd(boolean check)
throws IOException
- Throws:
IOException
writeMapBegin
public Packer writeMapBegin(int size)
throws IOException
- Throws:
IOException
writeMapEnd
public Packer writeMapEnd(boolean check)
throws IOException
- Throws:
IOException
write
public Packer write(Value v)
throws IOException
- Specified by:
write in interface Packer- Overrides:
write in class AbstractPacker
- Throws:
IOException
flush
public void flush()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class AbstractPacker
- Throws:
IOException
Copyright © 2011. All Rights Reserved.