When decoding, if there is unread data in the stream, the unread stream will be skipped
When decoding, all the data will be read at one time