2009-10-25 01:27:09 +09:00
|
|
|
import java.nio.ByteBuffer;
|
|
|
|
import java.io.InputStream;
|
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
public class MessagePack {
|
|
|
|
|
|
|
|
static public Object unpack(InputStream source)
|
|
|
|
{
|
|
|
|
// FIXME not implemented yet
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
static public Object unpack(byte[] source, int len) throws IOException
|
|
|
|
{
|
|
|
|
// FIXME not implemented yet
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
static public Object unpack(ByteBuffer source) throws IOException
|
|
|
|
{
|
|
|
|
// FIXME not implemented yet
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
|
|
|
|
static public Object unpack(ByteBuffer[] source) throws IOException
|
|
|
|
{
|
|
|
|
// FIXME not implemented yet
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-11-12 01:10:36 +09:00
|
|
|
/*
|
|
|
|
public interface MessagePackable {
|
|
|
|
public void toMessagePack(Packer pk);
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|