Fix SimulinkDecoder's read function to comply with the InputStream contract.
When out of bytes, don't return EOF. Instead, return -1 as specified in the InputStream contract. Otherwise MatFileReader is unable to use the decoder, as expected.
Loading
Please register or sign in to comment