Commit c213e137 authored by Matthew Dawson's avatar Matthew Dawson
Browse files

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.
parent be15f0cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment