Index

A B C D E G I K L N P R S T W 
All Classes and Interfaces|All Packages|Serialized Form

A

accept(byte[], int, int) - Method in class cool.scx.io.BytesDataConsumer
 
accept(byte[], int, int) - Method in interface cool.scx.io.DataConsumer
 

B

ByteArrayDataReader - Class in cool.scx.io
 
ByteArrayDataReader(byte[]) - Constructor for class cool.scx.io.ByteArrayDataReader
 
BytesDataConsumer - Class in cool.scx.io
 
BytesDataConsumer() - Constructor for class cool.scx.io.BytesDataConsumer
 

C

compressBytes(byte[], int, int) - Static method in class cool.scx.io.IOHelper
 
computeLPSArray(byte[]) - Static method in class cool.scx.io.KMPDataIndexer
 
cool.scx.io - package cool.scx.io
 

D

DataConsumer - Interface in cool.scx.io
 
DataIndexer - Interface in cool.scx.io
 
DataReader - Interface in cool.scx.io
 

E

EMPTY_BYTES - Static variable in interface cool.scx.io.DataReader
 

G

get() - Method in class cool.scx.io.InputStreamDataSupplier
 
getBytes() - Method in class cool.scx.io.BytesDataConsumer
 
getFileSize(Path) - Static method in class cool.scx.io.IOHelper
 

I

indexOf(byte) - Method in class cool.scx.io.ByteArrayDataReader
 
indexOf(byte) - Method in interface cool.scx.io.DataReader
查找 指定字节 第一次出现的 index (指针不会移动)
indexOf(byte) - Method in class cool.scx.io.LinkedDataReader
 
indexOf(byte[]) - Method in class cool.scx.io.ByteArrayDataReader
 
indexOf(byte[]) - Method in interface cool.scx.io.DataReader
查找 指定字节数组 第一次出现的 index (指针不会移动)
indexOf(byte[]) - Method in class cool.scx.io.LinkedDataReader
 
indexOf(byte[], int, int) - Method in interface cool.scx.io.DataIndexer
如果 没找到返回 -1 否则返回索引位置 此方法会循环调用 所以注意内部处理 建议每次都重新创建
indexOf(byte[], int, int) - Method in class cool.scx.io.KMPDataIndexer
 
InputStreamDataSupplier - Class in cool.scx.io
 
InputStreamDataSupplier(InputStream) - Constructor for class cool.scx.io.InputStreamDataSupplier
 
InputStreamDataSupplier(InputStream, boolean) - Constructor for class cool.scx.io.InputStreamDataSupplier
 
InputStreamDataSupplier(InputStream, int) - Constructor for class cool.scx.io.InputStreamDataSupplier
 
InputStreamDataSupplier(InputStream, int, boolean) - Constructor for class cool.scx.io.InputStreamDataSupplier
 
IOHelper - Class in cool.scx.io
 
IOHelper() - Constructor for class cool.scx.io.IOHelper
 

K

KMPDataIndexer - Class in cool.scx.io
 
KMPDataIndexer(byte[]) - Constructor for class cool.scx.io.KMPDataIndexer
 

L

LinkedDataReader - Class in cool.scx.io
 
LinkedDataReader(Supplier<LinkedDataReader.Node>) - Constructor for class cool.scx.io.LinkedDataReader
 
LinkedDataReader.Node - Class in cool.scx.io
 

N

Node(byte[]) - Constructor for class cool.scx.io.LinkedDataReader.Node
 
Node(byte[], int, int) - Constructor for class cool.scx.io.LinkedDataReader.Node
 
NoMatchFoundException - Exception Class in cool.scx.io
寻找匹配内容 查找失败的异常
NoMatchFoundException() - Constructor for exception class cool.scx.io.NoMatchFoundException
 
NoMoreDataException - Exception Class in cool.scx.io
读取数据时达到末尾的异常
NoMoreDataException() - Constructor for exception class cool.scx.io.NoMoreDataException
 

P

peek() - Method in class cool.scx.io.ByteArrayDataReader
 
peek() - Method in interface cool.scx.io.DataReader
向 dataConsumer 写入指定长度字节 (指针不会移动) 当没有更多的数据时会抛出异常
peek() - Method in class cool.scx.io.LinkedDataReader
 
peek(int) - Method in class cool.scx.io.ByteArrayDataReader
 
peek(int) - Method in interface cool.scx.io.DataReader
读取指定长度字节 (指针不会移动) 当没有更多的数据时会抛出异常
peek(int) - Method in class cool.scx.io.LinkedDataReader
 
peek(DataConsumer, int) - Method in class cool.scx.io.ByteArrayDataReader
 
peek(DataConsumer, int) - Method in interface cool.scx.io.DataReader
向 outputStream 写入指定长度字节 (指针不会移动) 当没有更多的数据时会抛出异常
peek(DataConsumer, int) - Method in class cool.scx.io.LinkedDataReader
 
peekUntil(byte) - Method in interface cool.scx.io.DataReader
读取 直到 找到匹配的字节 (指针不会移动)
peekUntil(byte[]) - Method in interface cool.scx.io.DataReader
读取 直到 找到匹配的字节 (指针不会移动)

R

read() - Method in class cool.scx.io.ByteArrayDataReader
 
read() - Method in interface cool.scx.io.DataReader
读取单个字节 (指针会移动) 当没有更多的数据时会抛出异常
read() - Method in class cool.scx.io.LinkedDataReader
 
read(int) - Method in class cool.scx.io.ByteArrayDataReader
 
read(int) - Method in interface cool.scx.io.DataReader
读取字节 (指针会移动) 当没有更多的数据时会抛出异常
read(int) - Method in class cool.scx.io.LinkedDataReader
 
read(DataConsumer, int) - Method in class cool.scx.io.ByteArrayDataReader
 
read(DataConsumer, int) - Method in interface cool.scx.io.DataReader
向 dataConsumer 写入指定长度字节 (指针会移动) 当没有更多的数据时会抛出异常
read(DataConsumer, int) - Method in class cool.scx.io.LinkedDataReader
 
readInToFile(InputStream, Path, long, long) - Static method in class cool.scx.io.IOHelper
 
readInToFile(InputStream, Path, OpenOption...) - Static method in class cool.scx.io.IOHelper
 
readUntil(byte) - Method in interface cool.scx.io.DataReader
读取 直到 找到匹配的字节 (指针会移动)
readUntil(byte[]) - Method in interface cool.scx.io.DataReader
读取 直到 找到匹配的字节 (指针会移动)

S

skip(int) - Method in class cool.scx.io.ByteArrayDataReader
 
skip(int) - Method in interface cool.scx.io.DataReader
向后移动指定字节
skip(int) - Method in class cool.scx.io.LinkedDataReader
 

T

toString() - Method in class cool.scx.io.LinkedDataReader.Node
 

W

writeFileToOut(Path, OutputStream) - Static method in class cool.scx.io.IOHelper
 
writeFileToOut(Path, OutputStream, long, long) - Static method in class cool.scx.io.IOHelper
 
A B C D E G I K L N P R S T W 
All Classes and Interfaces|All Packages|Serialized Form