public static class ByteUtils.OutputStreamByteConsumer extends Object implements ByteUtils.ByteConsumer
ByteUtils.ByteConsumer based on OutputStream.| Constructor and Description | 
|---|
| OutputStreamByteConsumer(OutputStream os) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | accept(int b)The contract is similar to  OutputStream.write(int),
 consume the lower eight bytes of the int as a byte. | 
public OutputStreamByteConsumer(OutputStream os)
public void accept(int b) throws IOException
ByteUtils.ByteConsumerOutputStream.write(int),
 consume the lower eight bytes of the int as a byte.accept in interface ByteUtils.ByteConsumerb - the byte to consumeIOException - if consuming failsCopyright © 2018 The Apache Software Foundation. All rights reserved.