class ByteArrayProvider implements ByteProvider {

	@Override
	public InputStream getInputStream(long index) throws IOException {
		assertValidIndex(index, true);
		return new ByteArrayInputStream(srcBytes, (int) index, srcBytes.length - (int) index);
	}

	public  ByteArrayProvider(byte[] bytes);
	public  ByteArrayProvider(String name, byte[] bytes);

}