public static interface ByteUtils.ByteConsumer
| 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. |
void accept(int b) throws java.io.IOException
OutputStream.write(int),
consume the lower eight bytes of the int as a byte.b - the byte to consumejava.io.IOException - if consuming fails