Resource implementation for a given byte array.
Creates a ByteArrayInputStreams for the given byte array.

Useful for loading content from any given byte array,
without having to resort to a single-use InputStreamResource.
Particularly useful for creating mail attachments from local content,
where JavaMail needs to be able to read the stream multiple times.