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 |