Commit ed6fcb63 by Oliver Woodman

Fix reading single byte from DataSourceInputStream.

parent 7f91a6d4
......@@ -46,7 +46,7 @@ public class DataSourceInputStream extends InputStream {
@Override
public int read() throws IOException {
read(singleByteArray);
return singleByteArray[0];
return singleByteArray[0] & 0xFF;
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment