类 BinInputStream
- java.lang.Object
-
- java.io.InputStream
-
- cn.mcres.gyhhy.MXLib.io.BinInputStream
-
- 所有已实现的接口:
Closeable,AutoCloseable
public class BinInputStream extends InputStream
- 作者:
- 32798
-
-
构造器概要
构造器 构造器 说明 BinInputStream(InputStream io)
-
方法概要
修饰符和类型 方法 说明 intavailable()voidclose()voidmark(int readlimit)booleanmarkSupported()LimitInputStreamopenStream()LimitInputStreamopenStream(long limit)intread()intread(byte[] b)intread(byte[] b, int off, int len)intread0()booleanreadBoolean()bytereadByte()byte[]readBytes()byte[]readBytes(int length)voidreadBytes(OutputStream out)charreadChar()doublereadDouble()floatreadFloat()BufferedImagereadImage()intreadInt()intreadInteger()longreadLong()shortreadShort()ByteArrayInputStreamreadStream()ByteArrayInputStreamreadStream(int leng)StringreadString()StringreadString(int length)StringreadString(int length, Charset charset)StringreadString(Charset charset)intreadUnsignedShort()voidreset()longskip(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
-
-