# Gimp.Memsize.deserialize

    function deserialize(string: String, memsize: Number(guint64)): Boolean {
        // 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

memsize

  return location for memory size in bytes

Returns

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