MemoryInputStream.from_bytes


Description:

[ CCode ( has_construct_function = false , type = "GInputStream*" ) ]
[ Version ( since = "2.34" ) ]
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