org.msgpack.packer
Interface Packer
- All Superinterfaces:
- Closeable, Flushable
- All Known Subinterfaces:
- BufferPacker
- All Known Implementing Classes:
- AbstractPacker, JSONBufferPacker, JSONPacker, MessagePackBufferPacker, MessagePackPacker, Unconverter
public interface Packer
- extends Closeable, Flushable
Standard serializer in MessagePack for Java. It allows users to serialize
objects like String, List, Map, byte[],
primitive types and so on.
- Version:
- 0.6.0
write
Packer write(boolean o)
throws IOException
- Throws:
IOException
write
Packer write(byte o)
throws IOException
- Throws:
IOException
write
Packer write(short o)
throws IOException
- Throws:
IOException
write
Packer write(int o)
throws IOException
- Throws:
IOException
write
Packer write(long o)
throws IOException
- Throws:
IOException
write
Packer write(float o)
throws IOException
- Throws:
IOException
write
Packer write(double o)
throws IOException
- Throws:
IOException
write
Packer write(Boolean o)
throws IOException
- Throws:
IOException
write
Packer write(Byte o)
throws IOException
- Throws:
IOException
write
Packer write(Short o)
throws IOException
- Throws:
IOException
write
Packer write(Integer o)
throws IOException
- Throws:
IOException
write
Packer write(Long o)
throws IOException
- Throws:
IOException
write
Packer write(Float o)
throws IOException
- Throws:
IOException
write
Packer write(Double o)
throws IOException
- Throws:
IOException
write
Packer write(BigInteger o)
throws IOException
- Throws:
IOException
write
Packer write(byte[] o)
throws IOException
- Throws:
IOException
write
Packer write(byte[] o,
int off,
int len)
throws IOException
- Throws:
IOException
write
Packer write(ByteBuffer o)
throws IOException
- Throws:
IOException
write
Packer write(String o)
throws IOException
- Throws:
IOException
write
Packer write(Value v)
throws IOException
- Throws:
IOException
write
Packer write(Object o)
throws IOException
- Throws:
IOException
writeNil
Packer writeNil()
throws IOException
- Throws:
IOException
writeArrayBegin
Packer writeArrayBegin(int size)
throws IOException
- Throws:
IOException
writeArrayEnd
Packer writeArrayEnd(boolean check)
throws IOException
- Throws:
IOException
writeArrayEnd
Packer writeArrayEnd()
throws IOException
- Throws:
IOException
writeMapBegin
Packer writeMapBegin(int size)
throws IOException
- Throws:
IOException
writeMapEnd
Packer writeMapEnd(boolean check)
throws IOException
- Throws:
IOException
writeMapEnd
Packer writeMapEnd()
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.