Vips.RefString¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
area |
r/w |
Methods¶
class |
|
|
Details¶
- class Vips.RefString¶
- classmethod new(str)¶
- Parameters:
str (
str
) – string to store- Returns:
the new
Vips.RefString
, orNone
on error.- Return type:
Create a new refstring. These are reference-counted immutable strings, used to store string data in vips image metadata.
Strings must be valid utf-8; use blob for binary data.
See also:
Vips.Area.unref
().
- get()¶
- Returns:
The C string held by self.
- length:
return length here, optionally
- Return type:
Get a pointer to the private string inside a refstr. Handy for language bindings.
See also:
Vips.value_get_ref_string
().