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 IOException
OutputStream.write(int)
,
consume the lower eight bytes of the int as a byte.b
- the byte to consumeIOException
- if consuming failsCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.