public static class ByteUtils.InputStreamByteSupplier extends Object implements ByteUtils.ByteSupplier
ByteUtils.ByteSupplier based on InputStream.| Constructor and Description | 
|---|
| InputStreamByteSupplier(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 InputStreamByteSupplier(InputStream is)
public int getAsByte() throws IOException
ByteUtils.ByteSupplierInputStream.read(), return
 the byte as an unsigned int, -1 if there are no more bytes.getAsByte in interface ByteUtils.ByteSupplierIOException - if supplying failsCopyright © 2018 The Apache Software Foundation. All rights reserved.