org.nutz.lang.util
类 ByteInputStream

java.lang.Object
  继承者 java.io.InputStream
      继承者 org.nutz.lang.util.ByteInputStream
所有已实现的接口:
java.io.Closeable

public class ByteInputStream
extends java.io.InputStream

根据一个 byte[] 数组,构建一个 InputStream

作者:
zozoh(zozohtnt@gmail.com)

构造方法摘要
ByteInputStream(byte[] bytes)
           
ByteInputStream(byte[] bytes, int off, int len)
           
 
方法摘要
 int read()
           
 
从类 java.io.InputStream 继承的方法
available, close, mark, markSupported, read, read, reset, skip
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ByteInputStream

public ByteInputStream(byte[] bytes)

ByteInputStream

public ByteInputStream(byte[] bytes,
                       int off,
                       int len)
方法详细信息

read

public int read()
         throws java.io.IOException
指定者:
java.io.InputStream 中的 read
抛出:
java.io.IOException