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 IOException
InputStream.read()
, return
the byte as an unsigned int, -1 if there are no more bytes.IOException
- if supplying failsCopyright © 2018 The Apache Software Foundation. All rights reserved.