Index

A B C E F G H I K L M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

accept(ByteChunk) - Method in class cool.scx.bytes.consumer.ByteArrayByteConsumer
 
accept(ByteChunk) - Method in class cool.scx.bytes.consumer.ByteChunkByteConsumer
 
accept(ByteChunk) - Method in interface cool.scx.bytes.consumer.ByteConsumer
 
accept(ByteChunk) - Method in class cool.scx.bytes.consumer.FillByteArrayByteConsumer
 
accept(ByteChunk) - Method in class cool.scx.bytes.consumer.FillByteBufferByteConsumer
 
accept(ByteChunk) - Method in class cool.scx.bytes.consumer.OutputStreamByteConsumer
 
accept(ByteChunk) - Method in class cool.scx.bytes.consumer.SkipByteConsumer
 
available() - Method in class cool.scx.bytes.ByteNode
 

B

BoundaryByteSupplier - Class in cool.scx.bytes.supplier
BoundaryByteSupplier
BoundaryByteSupplier(IByteReader, byte[]) - Constructor for class cool.scx.bytes.supplier.BoundaryByteSupplier
 
BoundaryByteSupplier(IByteReader, byte[], int) - Constructor for class cool.scx.bytes.supplier.BoundaryByteSupplier
 
BufferedByteChannelByteSupplier - Class in cool.scx.bytes.supplier
BufferedByteChannelByteSupplier
BufferedByteChannelByteSupplier(ReadableByteChannel) - Constructor for class cool.scx.bytes.supplier.BufferedByteChannelByteSupplier
 
BufferedByteChannelByteSupplier(ReadableByteChannel, int) - Constructor for class cool.scx.bytes.supplier.BufferedByteChannelByteSupplier
 
BufferedInputStreamByteSupplier - Class in cool.scx.bytes.supplier
BufferedInputStreamByteSupplier 和 InputStreamByteSupplier 性能表现相反 1, 当大部分时候读取的数据长度等于 bufferLength 的时候, 性能会差一点 因为多了一次复制 2, 当大部分时候读取的数据长度小于 bufferLength 的时候, 性能会好一点 因为只会创建一个较小的数组并复制数据
BufferedInputStreamByteSupplier(InputStream) - Constructor for class cool.scx.bytes.supplier.BufferedInputStreamByteSupplier
 
BufferedInputStreamByteSupplier(InputStream, int) - Constructor for class cool.scx.bytes.supplier.BufferedInputStreamByteSupplier
 
buildLPS(byte[]) - Static method in class cool.scx.bytes.indexer.KMPByteIndexer
 
ByteArrayByteConsumer - Class in cool.scx.bytes.consumer
ByteArrayByteConsumer
ByteArrayByteConsumer() - Constructor for class cool.scx.bytes.consumer.ByteArrayByteConsumer
 
ByteArrayByteSupplier - Class in cool.scx.bytes.supplier
ByteArrayByteSupplier
ByteArrayByteSupplier(byte[]) - Constructor for class cool.scx.bytes.supplier.ByteArrayByteSupplier
 
ByteArrayByteSupplier(byte[]...) - Constructor for class cool.scx.bytes.supplier.ByteArrayByteSupplier
 
ByteArrayByteSupplier(Collection<byte[]>) - Constructor for class cool.scx.bytes.supplier.ByteArrayByteSupplier
 
ByteChannelByteSupplier - Class in cool.scx.bytes.supplier
ByteChannelByteSupplier
ByteChannelByteSupplier(ReadableByteChannel) - Constructor for class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
ByteChannelByteSupplier(ReadableByteChannel, boolean) - Constructor for class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
ByteChannelByteSupplier(ReadableByteChannel, int) - Constructor for class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
ByteChannelByteSupplier(ReadableByteChannel, int, boolean) - Constructor for class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
byteChunk() - Method in class cool.scx.bytes.consumer.ByteChunkByteConsumer
 
ByteChunk - Class in cool.scx.bytes
ByteChunk
ByteChunk(byte[]) - Constructor for class cool.scx.bytes.ByteChunk
 
ByteChunk(byte[], int, int) - Constructor for class cool.scx.bytes.ByteChunk
 
ByteChunkByteConsumer - Class in cool.scx.bytes.consumer
ByteChunkByteConsumer
ByteChunkByteConsumer() - Constructor for class cool.scx.bytes.consumer.ByteChunkByteConsumer
 
ByteConsumer<X> - Interface in cool.scx.bytes.consumer
ByteConsumer
ByteIndexer - Interface in cool.scx.bytes.indexer
ByteIndexer
ByteNode - Class in cool.scx.bytes
ByteNode
ByteNode(ByteChunk) - Constructor for class cool.scx.bytes.ByteNode
 
byteReader() - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
byteReader() - Method in interface cool.scx.bytes.io.ByteReaderWrapper
 
ByteReader - Class in cool.scx.bytes
ByteReader
ByteReader() - Constructor for class cool.scx.bytes.ByteReader
 
ByteReader(ByteSupplier) - Constructor for class cool.scx.bytes.ByteReader
 
ByteReaderInputStream - Class in cool.scx.bytes.io
 
ByteReaderInputStream(IByteReader) - Constructor for class cool.scx.bytes.io.ByteReaderInputStream
 
byteReaderToInputStream(IByteReader) - Static method in interface cool.scx.bytes.io.ByteReaderWrapper
 
ByteReaderWrapper - Interface in cool.scx.bytes.io
 
bytes - Variable in class cool.scx.bytes.ByteChunk
 
bytes() - Method in class cool.scx.bytes.consumer.ByteArrayByteConsumer
 
byteSupplier - Variable in class cool.scx.bytes.ByteReader
 
ByteSupplier - Interface in cool.scx.bytes.supplier
ByteSupplier
ByteSupplierException - Exception Class in cool.scx.bytes.exception
ByteSupplierException
ByteSupplierException(String) - Constructor for exception class cool.scx.bytes.exception.ByteSupplierException
 
ByteSupplierException(String, Throwable) - Constructor for exception class cool.scx.bytes.exception.ByteSupplierException
 
ByteSupplierException(Throwable) - Constructor for exception class cool.scx.bytes.exception.ByteSupplierException
 
bytesWritten() - Method in class cool.scx.bytes.consumer.OutputStreamByteConsumer
写入的总长度

C

chunk - Variable in class cool.scx.bytes.ByteNode
 
close() - Method in class cool.scx.bytes.ByteReader
 
close() - Method in interface cool.scx.bytes.IByteReader
 
close() - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
close() - Method in class cool.scx.bytes.supplier.BoundaryByteSupplier
 
close() - Method in class cool.scx.bytes.supplier.BufferedByteChannelByteSupplier
 
close() - Method in class cool.scx.bytes.supplier.BufferedInputStreamByteSupplier
 
close() - Method in class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
close() - Method in interface cool.scx.bytes.supplier.ByteSupplier
 
close() - Method in class cool.scx.bytes.supplier.InputStreamByteSupplier
 
cool.scx.bytes - package cool.scx.bytes
 
cool.scx.bytes.consumer - package cool.scx.bytes.consumer
 
cool.scx.bytes.exception - package cool.scx.bytes.exception
 
cool.scx.bytes.indexer - package cool.scx.bytes.indexer
 
cool.scx.bytes.io - package cool.scx.bytes.io
 
cool.scx.bytes.supplier - package cool.scx.bytes.supplier
 

E

end - Variable in class cool.scx.bytes.ByteChunk
 

F

FillByteArrayByteConsumer - Class in cool.scx.bytes.consumer
FillByteArrayByteConsumer
FillByteArrayByteConsumer(byte[]) - Constructor for class cool.scx.bytes.consumer.FillByteArrayByteConsumer
 
FillByteArrayByteConsumer(byte[], int, int) - Constructor for class cool.scx.bytes.consumer.FillByteArrayByteConsumer
 
FillByteBufferByteConsumer - Class in cool.scx.bytes.consumer
FillByteBufferByteConsumer
FillByteBufferByteConsumer(ByteBuffer) - Constructor for class cool.scx.bytes.consumer.FillByteBufferByteConsumer
 
filledLength() - Method in class cool.scx.bytes.consumer.FillByteArrayByteConsumer
 
filledLength() - Method in class cool.scx.bytes.consumer.FillByteBufferByteConsumer
 

G

get() - Method in class cool.scx.bytes.supplier.BoundaryByteSupplier
 
get() - Method in class cool.scx.bytes.supplier.BufferedByteChannelByteSupplier
 
get() - Method in class cool.scx.bytes.supplier.BufferedInputStreamByteSupplier
 
get() - Method in class cool.scx.bytes.supplier.ByteArrayByteSupplier
 
get() - Method in class cool.scx.bytes.supplier.ByteChannelByteSupplier
 
get() - Method in interface cool.scx.bytes.supplier.ByteSupplier
如果没有数据请返回 null
get() - Method in class cool.scx.bytes.supplier.InputStreamByteSupplier
 
get() - Method in class cool.scx.bytes.supplier.SequenceByteSupplier
 
getByte(int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始
getBytes() - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始
getBytes(int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始
getBytes(int, int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始

H

hasAvailable() - Method in class cool.scx.bytes.ByteNode
 
head - Variable in class cool.scx.bytes.ByteReader
 

I

IByteReader - Interface in cool.scx.bytes
IByteReader
indexOf(byte) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(byte[]) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(byte[], long) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(byte[], long, long) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(byte, long) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(byte, long, long) - Method in interface cool.scx.bytes.IByteReader
 
indexOf(ByteChunk) - Method in interface cool.scx.bytes.indexer.ByteIndexer
支持跨 chunk 的回溯匹配, 因此返回值可能为负数 若未匹配到 请返回 Integer.MIN_VALUE
indexOf(ByteChunk) - Method in class cool.scx.bytes.indexer.KMPByteIndexer
 
indexOf(ByteChunk) - Method in class cool.scx.bytes.indexer.SingleByteIndexer
 
indexOf(ByteIndexer, long, long) - Method in class cool.scx.bytes.ByteReader
 
indexOf(ByteIndexer, long, long) - Method in interface cool.scx.bytes.IByteReader
 
InputStreamByteSupplier - Class in cool.scx.bytes.supplier
InputStreamByteSupplier 1, 当大部分时候读取的数据长度等于 bufferLength 的时候, 性能会高一点 因为只会进行数组创建这一步 2, 当大部分时候读取的数据长度小于 bufferLength 的时候, 性能会差一点 因为每次都会创建一个 bufferLength 大小的数组 如果启用压缩则会产生第二次复制 增加时间 如果未启用压缩则会造成内存上的一些浪费 这时建议使用 BufferedInputStreamByteSupplier
InputStreamByteSupplier(InputStream) - Constructor for class cool.scx.bytes.supplier.InputStreamByteSupplier
 
InputStreamByteSupplier(InputStream, boolean) - Constructor for class cool.scx.bytes.supplier.InputStreamByteSupplier
 
InputStreamByteSupplier(InputStream, int) - Constructor for class cool.scx.bytes.supplier.InputStreamByteSupplier
 
InputStreamByteSupplier(InputStream, int, boolean) - Constructor for class cool.scx.bytes.supplier.InputStreamByteSupplier
 
inputStreamRead() - Method in class cool.scx.bytes.ByteReader
 
inputStreamRead() - Method in interface cool.scx.bytes.IByteReader
 
inputStreamRead(byte[], int, int) - Method in class cool.scx.bytes.ByteReader
 
inputStreamRead(byte[], int, int) - Method in interface cool.scx.bytes.IByteReader
 
inputStreamReadNBytes(long) - Method in class cool.scx.bytes.ByteReader
 
inputStreamReadNBytes(long) - Method in interface cool.scx.bytes.IByteReader
 
inputStreamToByteReader(InputStream) - Static method in interface cool.scx.bytes.io.ByteReaderWrapper
 
inputStreamTransferTo(OutputStream) - Method in interface cool.scx.bytes.IByteReader
 
inputStreamTransferTo(OutputStream, long) - Method in class cool.scx.bytes.ByteReader
 
inputStreamTransferTo(OutputStream, long) - Method in interface cool.scx.bytes.IByteReader
 

K

KMPByteIndexer - Class in cool.scx.bytes.indexer
KMPByteIndexer
KMPByteIndexer(byte[]) - Constructor for class cool.scx.bytes.indexer.KMPByteIndexer
 

L

length - Variable in class cool.scx.bytes.ByteChunk
 

M

mark() - Method in class cool.scx.bytes.ByteReader
 
mark() - Method in interface cool.scx.bytes.IByteReader
 
mark(int) - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
markNode - Variable in class cool.scx.bytes.ByteReader
 
markNodePosition - Variable in class cool.scx.bytes.ByteReader
 
markSupported() - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
matchedLength() - Method in class cool.scx.bytes.indexer.KMPByteIndexer
当前已匹配的模式串长度

N

next - Variable in class cool.scx.bytes.ByteNode
 
NoMatchFoundException - Exception Class in cool.scx.bytes.exception
NoMatchFoundException
NoMatchFoundException() - Constructor for exception class cool.scx.bytes.exception.NoMatchFoundException
 
NoMoreDataException - Exception Class in cool.scx.bytes.exception
NoMoreDataException
NoMoreDataException() - Constructor for exception class cool.scx.bytes.exception.NoMoreDataException
 

O

OutputStreamByteConsumer - Class in cool.scx.bytes.consumer
OutputStreamByteConsumer
OutputStreamByteConsumer(OutputStream) - Constructor for class cool.scx.bytes.consumer.OutputStreamByteConsumer
 

P

pattern() - Method in class cool.scx.bytes.indexer.KMPByteIndexer
 
peek() - Method in class cool.scx.bytes.ByteReader
 
peek() - Method in interface cool.scx.bytes.IByteReader
 
peek(int) - Method in interface cool.scx.bytes.IByteReader
 
peek(int, long) - Method in interface cool.scx.bytes.IByteReader
 
peek(ByteConsumer<X>, long) - Method in interface cool.scx.bytes.IByteReader
 
peek(ByteConsumer<X>, long, long) - Method in class cool.scx.bytes.ByteReader
 
peek(ByteConsumer<X>, long, long) - Method in interface cool.scx.bytes.IByteReader
 
peekUntil(byte) - Method in interface cool.scx.bytes.IByteReader
 
peekUntil(byte[]) - Method in interface cool.scx.bytes.IByteReader
 
peekUntil(byte[], int) - Method in interface cool.scx.bytes.IByteReader
 
peekUntil(byte, int) - Method in interface cool.scx.bytes.IByteReader
 
position - Variable in class cool.scx.bytes.ByteNode
相对 索引 0 起始

R

read() - Method in class cool.scx.bytes.ByteReader
 
read() - Method in interface cool.scx.bytes.IByteReader
 
read() - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
read(byte[], int, int) - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
read(int) - Method in interface cool.scx.bytes.IByteReader
 
read(int, long) - Method in interface cool.scx.bytes.IByteReader
 
read(ByteConsumer<X>, long) - Method in interface cool.scx.bytes.IByteReader
 
read(ByteConsumer<X>, long, long) - Method in class cool.scx.bytes.ByteReader
 
read(ByteConsumer<X>, long, long) - Method in interface cool.scx.bytes.IByteReader
 
readNBytes(int) - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
readUntil(byte) - Method in interface cool.scx.bytes.IByteReader
 
readUntil(byte[]) - Method in interface cool.scx.bytes.IByteReader
 
readUntil(byte[], int) - Method in interface cool.scx.bytes.IByteReader
 
readUntil(byte, int) - Method in interface cool.scx.bytes.IByteReader
 
reset() - Method in class cool.scx.bytes.ByteNode
 
reset() - Method in class cool.scx.bytes.ByteReader
 
reset() - Method in interface cool.scx.bytes.IByteReader
 
reset() - Method in class cool.scx.bytes.indexer.KMPByteIndexer
 
reset() - Method in class cool.scx.bytes.io.ByteReaderInputStream
 

S

SequenceByteSupplier - Class in cool.scx.bytes.supplier
SequenceByteSupplier
SequenceByteSupplier(ByteSupplier...) - Constructor for class cool.scx.bytes.supplier.SequenceByteSupplier
 
SequenceByteSupplier(Collection<ByteSupplier>) - Constructor for class cool.scx.bytes.supplier.SequenceByteSupplier
 
SingleByteIndexer - Class in cool.scx.bytes.indexer
SimpleByteIndexer
SingleByteIndexer(byte) - Constructor for class cool.scx.bytes.indexer.SingleByteIndexer
 
skip(long) - Method in interface cool.scx.bytes.IByteReader
 
skip(long, long) - Method in interface cool.scx.bytes.IByteReader
 
SKIP_BYTE_CONSUMER - Static variable in class cool.scx.bytes.consumer.SkipByteConsumer
 
SkipByteConsumer - Class in cool.scx.bytes.consumer
SkipByteConsumer
SkipByteConsumer() - Constructor for class cool.scx.bytes.consumer.SkipByteConsumer
 
start - Variable in class cool.scx.bytes.ByteChunk
 
subChunk(int, int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始

T

tail - Variable in class cool.scx.bytes.ByteReader
 
toString() - Method in class cool.scx.bytes.ByteChunk
 
toString() - Method in class cool.scx.bytes.ByteNode
 
toString(int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始
toString(int, int) - Method in class cool.scx.bytes.ByteChunk
相对 索引 0 起始
transferTo(OutputStream) - Method in class cool.scx.bytes.io.ByteReaderInputStream
 
A B C E F G H I K L M N O P R S T 
All Classes and Interfaces|All Packages|Serialized Form