filterinputstream.java

来自「J2ME加密算法的代码!里面包括常用的算法」· Java 代码 · 共 57 行

JAVA
57
字号
package java.io;public class FilterInputStream extends InputStream{    protected InputStream in;    protected FilterInputStream(InputStream underlying)    {        in = underlying;    }    public int read() throws IOException    {        return in.read();    }    public int read(byte[] b) throws IOException    {        return read(b, 0, b.length);    }    public int read(byte[] b, int offset, int length) throws IOException    {        return in.read(b, offset, length);    }    public long skip(long n) throws IOException    {        return in.skip(n);    }    public int available() throws IOException    {        return in.available();    }    public void close() throws IOException    {        in.close();    }    public void mark(int readlimit)    {        in.mark(readlimit);    }    public void reset() throws IOException    {        in.reset();    }    public boolean markSupported()    {        return in.markSupported();    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?