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:
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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user