org.msgpack.packer
Class AbstractPacker
java.lang.Object
org.msgpack.packer.AbstractPacker
- All Implemented Interfaces:
- Closeable, Flushable, Packer
- Direct Known Subclasses:
- JSONPacker, MessagePackPacker, Unconverter
public abstract class AbstractPacker
- extends Object
- implements Packer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
msgpack
protected MessagePack msgpack
AbstractPacker
protected AbstractPacker(MessagePack msgpack)
write
public Packer write(boolean o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(byte o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(short o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(int o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(long o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(float o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(double o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Boolean o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Byte o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Short o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Integer o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Long o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(BigInteger o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Float o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Double o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(byte[] o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(byte[] o,
int off,
int len)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(ByteBuffer o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(String o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Object o)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
write
public Packer write(Value v)
throws IOException
- Specified by:
write
in interface Packer
- Throws:
IOException
writeArrayEnd
public Packer writeArrayEnd()
throws IOException
- Specified by:
writeArrayEnd
in interface Packer
- Throws:
IOException
writeMapEnd
public Packer writeMapEnd()
throws IOException
- Specified by:
writeMapEnd
in interface Packer
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
writeBoolean
protected abstract void writeBoolean(boolean v)
throws IOException
- Throws:
IOException
writeByte
protected abstract void writeByte(byte v)
throws IOException
- Throws:
IOException
writeShort
protected abstract void writeShort(short v)
throws IOException
- Throws:
IOException
writeInt
protected abstract void writeInt(int v)
throws IOException
- Throws:
IOException
writeLong
protected abstract void writeLong(long v)
throws IOException
- Throws:
IOException
writeBigInteger
protected abstract void writeBigInteger(BigInteger v)
throws IOException
- Throws:
IOException
writeFloat
protected abstract void writeFloat(float v)
throws IOException
- Throws:
IOException
writeDouble
protected abstract void writeDouble(double v)
throws IOException
- Throws:
IOException
writeByteArray
protected void writeByteArray(byte[] b)
throws IOException
- Throws:
IOException
writeByteArray
protected abstract void writeByteArray(byte[] b,
int off,
int len)
throws IOException
- Throws:
IOException
writeByteBuffer
protected abstract void writeByteBuffer(ByteBuffer bb)
throws IOException
- Throws:
IOException
writeString
protected abstract void writeString(String s)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.