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