类 BinInputStream
- java.lang.Object
-
- java.io.InputStream
-
- cn.mcres.gyhhy.MXLib.io.BinInputStream
-
- 所有已实现的接口:
Closeable
,AutoCloseable
public class BinInputStream extends InputStream
- 作者:
- 32798
-
-
构造器概要
构造器 构造器 说明 BinInputStream(InputStream io)
-
方法概要
修饰符和类型 方法 说明 int
available()
void
close()
void
mark(int readlimit)
boolean
markSupported()
LimitInputStream
openStream()
LimitInputStream
openStream(long limit)
int
read()
int
read(byte[] b)
int
read(byte[] b, int off, int len)
int
read0()
boolean
readBoolean()
byte
readByte()
byte[]
readBytes()
byte[]
readBytes(int length)
void
readBytes(OutputStream out)
char
readChar()
double
readDouble()
float
readFloat()
BufferedImage
readImage()
int
readInt()
int
readInteger()
long
readLong()
short
readShort()
ByteArrayInputStream
readStream()
ByteArrayInputStream
readStream(int leng)
String
readString()
String
readString(int length)
String
readString(int length, Charset charset)
String
readString(Charset charset)
int
readUnsignedShort()
void
reset()
long
skip(long n)
-
从类继承的方法 java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
-
-
-
构造器详细资料
-
BinInputStream
public BinInputStream(InputStream io)
-
-
方法详细资料
-
readUnsignedShort
public int readUnsignedShort() throws IOException
- 抛出:
IOException
-
readImage
public BufferedImage readImage() throws IOException
- 抛出:
IOException
-
readStream
public ByteArrayInputStream readStream() throws IOException
- 抛出:
IOException
-
readStream
public ByteArrayInputStream readStream(int leng) throws IOException
- 抛出:
IOException
-
readFloat
public float readFloat() throws IOException
- 抛出:
IOException
-
readBytes
public byte[] readBytes() throws IOException
- 抛出:
IOException
-
readBytes
public byte[] readBytes(int length) throws IOException
- 抛出:
IOException
-
readString
public String readString() throws IOException
- 抛出:
IOException
-
readString
public String readString(int length, Charset charset) throws IOException
- 抛出:
IOException
-
openStream
public LimitInputStream openStream() throws IOException
- 抛出:
IOException
-
openStream
public LimitInputStream openStream(long limit) throws IOException
- 抛出:
IOException
-
readString
public String readString(int length) throws IOException
- 抛出:
IOException
-
readString
public String readString(Charset charset) throws IOException
- 抛出:
IOException
-
readInt
public final int readInt() throws IOException
- 抛出:
IOException
-
readShort
public short readShort() throws IOException
- 抛出:
IOException
-
readDouble
public double readDouble() throws IOException
- 抛出:
IOException
-
readByte
public byte readByte() throws IOException
- 抛出:
IOException
-
readChar
public char readChar() throws IOException
- 抛出:
IOException
-
readInteger
public int readInteger() throws IOException
- 抛出:
IOException
-
readLong
public long readLong() throws IOException
- 抛出:
IOException
-
read
public int read() throws IOException
- 指定者:
read
在类中InputStream
- 抛出:
IOException
-
read0
public int read0() throws IOException
- 抛出:
IOException
-
available
public int available() throws IOException
- 覆盖:
available
在类中InputStream
- 抛出:
IOException
-
readBoolean
public boolean readBoolean() throws IOException
- 抛出:
IOException
-
read
public int read(byte[] b) throws IOException
- 覆盖:
read
在类中InputStream
- 抛出:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException
- 覆盖:
read
在类中InputStream
- 抛出:
IOException
-
reset
public void reset() throws IOException
- 覆盖:
reset
在类中InputStream
- 抛出:
IOException
-
close
public void close() throws IOException
- 指定者:
close
在接口中AutoCloseable
- 指定者:
close
在接口中Closeable
- 覆盖:
close
在类中InputStream
- 抛出:
IOException
-
mark
public void mark(int readlimit)
- 覆盖:
mark
在类中InputStream
-
markSupported
public boolean markSupported()
- 覆盖:
markSupported
在类中InputStream
-
readBytes
public void readBytes(OutputStream out) throws IOException
- 抛出:
IOException
-
skip
public long skip(long n) throws IOException
- 覆盖:
skip
在类中InputStream
- 抛出:
IOException
-
-