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 fails"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"