src/org/kocakosm/pitaya/io/Resource.java
public byte[] read() throws IOException
	{
		InputStream in = url.openStream();
		try {
			return ByteStreams.read(in);
		} finally {
			IO.close(in);
		}
	}
public byte[] read() throws IOException
	{
		InputStream in = url.openStream();
		try {
			return ByteStreams.read(in);
		} finally {
			IO.close(in);
		}
	}
Reads and returns this resource's content as a {@code byte[]}.

@return this resource's content.

@throws IOException if an I/O error occurs during the process.