mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
MSGPACK-4 BufferedUnpackerImpl.unpackLong: more(4)+advance(4) -> more(5)+advance(5)
This commit is contained in:
parent
dfaa281476
commit
9d4db84987
1 changed files with 2 additions and 2 deletions
|
|
@ -215,10 +215,10 @@ abstract class BufferedUnpackerImpl extends UnpackerImpl {
|
|||
advance(3);
|
||||
return (long)castBuffer.getShort(0);
|
||||
case 0xd2: // signed int 32
|
||||
more(4);
|
||||
more(5);
|
||||
castBuffer.rewind();
|
||||
castBuffer.put(buffer, offset+1, 4);
|
||||
advance(4);
|
||||
advance(5);
|
||||
return (long)castBuffer.getInt(0);
|
||||
case 0xd3: // signed int 64
|
||||
more(9);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue