Gimp.Memsize.deserialize

function deserialize(string: String): [ok: Boolean, memsize: Number(guint64)] {
    // Gjs wrapper for gimp_memsize_deserialize()
}
  

Parses a string representation of a memory size as returned by Gimp.Memsize.serialize.

Since 2.2

string

a string as returned by Gimp.Memsize.serialize

ok

true if the string was successfully parsed and memsize has been set, false otherwise.

memsize

return location for memory size in bytes