J
Jimmy Zhang
I have got a ByteArrayInputStream that I use to instantiate a
BufferedInputStream. Then everything I finish reading the entire byte array,
my code calls the reset method of the BbufferedInputStream, which causes an
exception.
After I change by code to reset teh underlying ByteArrayInputStream instead,
the exception goes away.
Why the BufferedInputStream doesn't recognize teh reset method and delegate
to the underlying ByteArrayInputStream???
Anyone help??
Thanks,
Jimmy
BufferedInputStream. Then everything I finish reading the entire byte array,
my code calls the reset method of the BbufferedInputStream, which causes an
exception.
After I change by code to reset teh underlying ByteArrayInputStream instead,
the exception goes away.
Why the BufferedInputStream doesn't recognize teh reset method and delegate
to the underlying ByteArrayInputStream???
Anyone help??
Thanks,
Jimmy