MemoryInputStream.this

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

  1. this(GMemoryInputStream* gMemoryInputStream)
  2. this()
  3. this(void* data, gssize len, GDestroyNotify destroy)
    class MemoryInputStream

Parameters

data void*

input data. [array length=len][element-type guint8]

len gssize

length of the data, may be -1 if data is a nul-terminated string

destroy GDestroyNotify

function that is called to free data, or NULL. [allow-none]

Throws

ConstructionException GTK+ fails to create the object.

Meta