Loading
Make sure that the decoder always returns an EOF at the end of the stream.
Due to a logic bug, the Simulink Decoder would throw RuntimeExceptions instead of EOFExceptions after the first EOF. Fix this by handling the state after the first EOF explicitly.