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.ByteSupplier
InputStream.read()
, return
the byte as an unsigned int, -1 if there are no more bytes.getAsByte
in interface ByteUtils.ByteSupplier
java.io.IOException
- if supplying failsCopyright © 2010 - 2020 Adobe. All Rights Reserved