MemoryInputStream.this

Creates a new #GMemoryInputStream with data in memory of a given size.

  1. this(GMemoryInputStream* gMemoryInputStream, bool ownedRef)
  2. this()
  3. this(Bytes bytes)
  4. this(ubyte[] data, GDestroyNotify destroy)
    class MemoryInputStream

Parameters

data ubyte[]

input data

destroy GDestroyNotify

function that is called to free @data, or %NULL

Return: new #GInputStream read from @data of @len bytes.

Throws

ConstructionException GTK+ fails to create the object.

Meta