MemoryInputStream.this

Creates a new gio.MemoryInputStream 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 Value

new gio.InputStream read from data of len bytes.

Throws

ConstructionException GTK+ fails to create the object.