Class ByteUtils.InputStreamByteSupplier
java.lang.Object
org.apache.commons.compress.utils.ByteUtils.InputStreamByteSupplier
- All Implemented Interfaces:
ByteUtils.ByteSupplier
- Enclosing class:
- ByteUtils
@Deprecated
public static class ByteUtils.InputStreamByteSupplier
extends Object
implements ByteUtils.ByteSupplier
Deprecated.
Unused
ByteUtils.ByteSupplier
based on InputStream
.- Since:
- 1.14
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.The contract is similar toInputStream.read()
, return the byte as an unsigned int, -1 if there are no more bytes.
-
Constructor Details
-
InputStreamByteSupplier
Deprecated.
-
-
Method Details
-
getAsByte
Deprecated.Description copied from interface:ByteUtils.ByteSupplier
The contract is similar toInputStream.read()
, return the byte as an unsigned int, -1 if there are no more bytes.- Specified by:
getAsByte
in interfaceByteUtils.ByteSupplier
- Returns:
- the supplied byte or -1 if there are no more bytes
- Throws:
IOException
- if supplying fails
-