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.ByteConsumerOutputStream.write(int),
consume the lower eight bytes of the int as a byte.accept in interface ByteUtils.ByteConsumerb - the byte to consumejava.io.IOException - if consuming failsCopyright © 2010 - 2023 Adobe. All Rights Reserved