Creates a new MemoryInputStream with data from the given bytes.
bytes
a Bytes
new InputStream read from bytes