class IO {

	public static byte[] readByteArray(InputStream input) throws NestedIOException {
		ByteArrayOutputStream output = new ByteArrayOutputStream();
		copy(input, output);
		return output.toByteArray();
	}

	protected  IO();

}