public static interface ByteUtils.ByteSupplier
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. |
int getAsByte() throws java.io.IOException
InputStream.read()
, return
the byte as an unsigned int, -1 if there are no more bytes.java.io.IOException
- if supplying fails