Constructor ByteArrayInputStream(byte[] buf, int offset, int length)
Member of: java.io.ByteArrayInputStream
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return new ByteArrayInputStream(buffer,start,end-start);
2 return new ByteArrayInputStream(_bytes, 0, _bytes.length - 2);
3 return new ByteArrayInputStream(buffer, 0, length);
4 return new ByteArrayInputStream(toByteArray(), 0 , size());
5 doRead( new ByteArrayInputStream(buffer, 0, buffer.length) );
6 ByteArrayInputStream bis = new ByteArrayInputStream(buf, ofs, len);
7 new ByteArrayInputStream(
8 new ByteArrayInputStream(data, textIndex, length);
9 ByteArrayInputStream bis = new ByteArrayInputStream(bytes, 0, count);
10 new ByteArrayInputStream(data,2,data.length-1)
11 ByteArrayInputStream bai = new ByteArrayInputStream(idat.getBuf(), 0, idat.size());
12 result = verifyStream(envsig,new ByteArrayInputStream(bytes,0,length));
13 new ByteArrayInputStream
14 ByteArrayInputStream tis = new ByteArrayInputStream(image, jpeg_offset, image.length-jpeg_offset);
15 ByteArrayInputStream bais = new ByteArrayInputStream(co.message,0, co.message.length);
16 (new ByteArrayInputStream(buffer, pos, len)).readObject();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.