/* Returns: new #GInputStream read from @data of @len bytes.  */
GInputStream* g_memory_input_stream_new_from_data(const void *data, gssize len, GDestroyNotify destroy)
/* Returns: new #GInputStream read from @data of @len bytes.  */
GInputStream* g_memory_input_stream_new_from_data(const void *data, gssize len, GDestroyNotify destroy)
{
  GInputStream *stream;
  stream = g_memory_input_stream_new ();
  g_memory_input_stream_add_data (G_MEMORY_INPUT_STREAM (stream),
                                  data, len, destroy);
  return stream;
}