MemoryInputStream.from_data
Description:
[ CCode ( has_construct_function = false , type = "GInputStream*" ) ]
public MemoryInputStream.from_data (owned uint8[] data, DestroyNotify? destroy = g_free)
public MemoryInputStream.from_data (owned uint8[] data, DestroyNotify? destroy = g_free)
Creates a new MemoryInputStream with data in memory of a given size.
Parameters:
data |
input data |
destroy |
function that is called to free |
len |
length of the data, may be -1 if |
Returns:
new InputStream read from |