Mercurial > hg > Members > sugi > MessagePack-java
comparison src/main/java/org/msgpack/unpacker/MessagePackUnpacker.java @ 5:efe621b1dba9
bug fix
author | sugi |
---|---|
date | Fri, 09 Jan 2015 14:19:23 +0900 |
parents | d5cc3aef5b74 |
children | 8d782f988d92 |
comparison
equal
deleted
inserted
replaced
4:d5cc3aef5b74 | 5:efe621b1dba9 |
---|---|
682 public void resetReadByteCount() { | 682 public void resetReadByteCount() { |
683 in.resetReadByteCount(); | 683 in.resetReadByteCount(); |
684 } | 684 } |
685 | 685 |
686 public byte[] getSerializedByteArray(int len) throws IOException { | 686 public byte[] getSerializedByteArray(int len) throws IOException { |
687 byte b = getHeadByte(); | |
688 return ((StreamInput)in).getRawByteArray(len); | 687 return ((StreamInput)in).getRawByteArray(len); |
689 } | 688 } |
690 } | 689 } |