summaryrefslogtreecommitdiff
path: root/java-plan1/MessagePack.java
diff options
context:
space:
mode:
Diffstat (limited to 'java-plan1/MessagePack.java')
-rw-r--r--java-plan1/MessagePack.java31
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;
+ }
+}
+