public static class ByteUtils.InputStreamByteSupplier extends java.lang.Object implements ByteUtils.ByteSupplier
ByteUtils.ByteSupplier based on InputStream.| Constructor and Description |
|---|
InputStreamByteSupplier(java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsByte()
The contract is similar to
InputStream.read(), return
the byte as an unsigned int, -1 if there are no more bytes. |
public int getAsByte()
throws java.io.IOException
ByteUtils.ByteSupplierInputStream.read(), return
the byte as an unsigned int, -1 if there are no more bytes.getAsByte in interface ByteUtils.ByteSupplierjava.io.IOException - if supplying failsCopyright © 2010 - 2023 Adobe. All Rights Reserved