Skip to content

Commit

Permalink
Merge pull request #2270 from jbouffard/bug-fix/signed-byte-array
Browse files Browse the repository at this point in the history
getSignedByteArray BugFix
  • Loading branch information
pomadchin committed Jun 30, 2017
2 parents 4991fed + 23d2e84 commit 2b372bc
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -194,8 +194,10 @@ trait ByteReaderExtensions {
}
arr
} else {
val oldPosition = byteReader.position
byteReader.position(offset)
val arr = byteReader.getBytes(len)
byteReader.position(oldPosition)
arr
}
}
Expand Down

0 comments on commit 2b372bc

Please sign in to comment.