public static interface Bytes.ByteConsumer
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2019. All rights reserved.