Uses of Interface
cool.scx.io.consumer.ByteConsumer
Packages that use ByteConsumer
-
Uses of ByteConsumer in cool.scx.io
Methods in cool.scx.io with parameters of type ByteConsumerModifier and TypeMethodDescription<X extends Throwable>
voidByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) 查看字节, 行为参考ByteInput.read(ByteConsumer, long)<X extends Throwable>
voidDefaultByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) <X extends Throwable>
voidNullByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) default <X extends Throwable>
voidByteInput.peekAll(ByteConsumer<X> byteConsumer) <X extends Throwable>
voidByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) 查看字节, 行为参考ByteInput.readFully(ByteConsumer, long)<X extends Throwable>
voidDefaultByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) 查看字节, 行为参考ByteInput.readUpTo(ByteConsumer, long)<X extends Throwable>
voidDefaultByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) 最多读取 maxLength 个字节, 可能少于 maxLength (即使尚未遇到 EOF, 如底层缓冲区不足)<X extends Throwable>
voidDefaultByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) <X extends Throwable>
voidNullByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) default <X extends Throwable>
voidByteInput.readAll(ByteConsumer<X> byteConsumer) <X extends Throwable>
voidByteInput.readFully(ByteConsumer<X> byteConsumer, long length) 恰好读取 length 个字节<X extends Throwable>
voidDefaultByteInput.readFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.readFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) 尽量读取 length 个字节, 可能少于 length (仅在 EOF 时发生)<X extends Throwable>
voidDefaultByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) -
Uses of ByteConsumer in cool.scx.io.consumer
Classes in cool.scx.io.consumer that implement ByteConsumerModifier and TypeClassDescriptionfinal classByteArrayByteConsumerfinal classByteChunkByteConsumerfinal classFillByteArrayByteConsumerfinal classOutputStreamByteConsumerfinal classSkipByteConsumer