mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 02:09:59 +00:00
import MessagePack for Java implementation plan 1
This commit is contained in:
parent
c6a2569af8
commit
5393a0df16
5 changed files with 712 additions and 0 deletions
31
java-plan1/MessagePack.java
Normal file
31
java-plan1/MessagePack.java
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue