Fix for decode in BinaryInputStreamReader