mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 13:02:13 +01:00
java: fixes MessagePack.unpack method
This commit is contained in:
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();
|
||||
pac.wrap(buffer);
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user