/** * Return an InputStream that wraps the valid byte array. * Note that no copy is made of the byte array from the * input stream, it is up to the caller to ensure the correct * co-ordination. */ public InputStream getInputStream() { return new NewByteArrayInputStream(buf, 0, count); }
/** * Return an InputStream that wraps the valid byte array. * Note that no copy is made of the byte array from the * input stream, it is up to the caller to ensure the correct * co-ordination. */ public InputStream getInputStream() { return new NewByteArrayInputStream(buf, 0, count); }
/** * Return an InputStream that wraps the valid byte array. * Note that no copy is made of the byte array from the * input stream, it is up to the caller to ensure the correct * co-ordination. */ public InputStream getInputStream() { return new NewByteArrayInputStream(buf, 0, count); }
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
return new NewByteArrayInputStream(bytes);
stream = new NewByteArrayInputStream(dvd.getBytes()); } else
stream = new NewByteArrayInputStream(dvd.getBytes()); } else
stream = new NewByteArrayInputStream(dvd.getBytes()); } else