public static class ByteUtils.OutputStreamByteConsumer extends java.lang.Object implements ByteUtils.ByteConsumer
ByteUtils.ByteConsumer
based on OutputStream
.Constructor and Description |
---|
OutputStreamByteConsumer(java.io.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(java.io.OutputStream os)
public void accept(int b) throws java.io.IOException
ByteUtils.ByteConsumer
OutputStream.write(int)
,
consume the lower eight bytes of the int as a byte.accept
in interface ByteUtils.ByteConsumer
b
- the byte to consumejava.io.IOException
- if consuming failsCopyright © 2010 - 2020 Adobe. All Rights Reserved