MemoryInputStream.from_bytes


Description:

public MemoryInputStream.from_bytes (Bytes bytes)

Creates a new MemoryInputStream with data from the given bytes.

Parameters:

bytes

a Bytes

Returns:

new InputStream read from bytes