MemoryUse

The lifetime of the memory being passed.

Entries

Link copied to clipboard

The memory is statically allocated and constant; libsoup can use the passed-in buffer directly and not need to worry about it being modified or freed.

Link copied to clipboard

The caller has allocated the memory and libsoup will assume ownership of it and free it with func@GLib.free.

Link copied to clipboard

The passed-in data belongs to the caller and libsoup will copy it into new memory leaving the caller free to reuse the original memory.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): MemoryUse

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.