diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2009-10-25 01:27:09 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2009-10-25 01:27:09 +0900 |
| commit | 5393a0df16f3bbdf296222b6337db5d57fe7c3a6 (patch) | |
| tree | c9a5777139386dff7558aa966c49faedd6ce2241 /java-plan1/MessagePack.java | |
| parent | c6a2569af8839ce68f96cca1d3aa61c0ac6ed4a6 (diff) | |
| download | msgpack-python-5393a0df16f3bbdf296222b6337db5d57fe7c3a6.tar.gz | |
import MessagePack for Java implementation plan 1
Diffstat (limited to 'java-plan1/MessagePack.java')
| -rw-r--r-- | java-plan1/MessagePack.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/java-plan1/MessagePack.java b/java-plan1/MessagePack.java new file mode 100644 index 0000000..143f6b5 --- /dev/null +++ b/java-plan1/MessagePack.java @@ -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; + } +} + |
