ByteArrayInputStream 和InputStream中read方法
InputStream:
public int read(byte b[], int off, int len) throws IOException {
if (b == null) {
throw new NullPointerException();
} else if (off 0 || len 0 || len > b.length - off) {
原创
2016-02-16 14:19:01 ·
869 阅读 ·
0 评论