Returns minus one (-1) early from readXXX methods if the count down reaches zero (0) before the end of the wrapped InputStream is encountered.
This class is especially useful when a fixed number of bytes is to be read from an InputStream that is in turn to be used as the source for an {@link java.io.InputStreamReader InputStreamReader}. @author boucherb@users @version 1.9.0 @since 1.9.0
Returns minus one (-1) early from readXXX methods if the count down reaches zero (0) before the end of the wrapped InputStream is encountered.
This class is especially useful when a fixed number of bytes is to be read from an InputStream that is in turn to be used as the source for an {@link java.io.InputStreamReader InputStreamReader}. @author boucherb@users @version 1.9.0 @since 1.9.0
|
|
|
|