1
0
mirror of https://github.com/msgpack/msgpack-c.git synced 2025-03-21 06:11:18 +01:00

java: fixes MessagePack.unpack method

This commit is contained in:
frsyuki 2010-10-25 14:49:14 +09:00
parent 59610e81de
commit 2af7df5865

@ -56,7 +56,7 @@ public class MessagePack {
} }
public static MessagePackObject unpack(byte[] buffer) throws IOException { public static MessagePackObject unpack(byte[] buffer) throws MessageTypeException {
Unpacker pac = new Unpacker(); Unpacker pac = new Unpacker();
pac.wrap(buffer); pac.wrap(buffer);
try { try {