public static class Bytes.OutputStreamByteConsumer extends Object implements Bytes.ByteConsumer
Bytes.ByteConsumer based on OutputStream.| 构造器和说明 |
|---|
OutputStreamByteConsumer(OutputStream os) |
public OutputStreamByteConsumer(OutputStream os)
public void accept(int b)
throws IOException
Bytes.ByteConsumerOutputStream.write(int),
consume the lower eight bytes of the int as a byte.accept 在接口中 Bytes.ByteConsumerb - the byte to consumeIOException - if consuming failsCopyright © 2022. All rights reserved.