TEMPORARY


Description:

TEMPORARY

The passed-in data belongs to the caller, but will remain valid for the lifetime of the Buffer.

The difference between this and SOUP_MEMORY_STATIC is that if you copy a SOUP_MEMORY_TEMPORARY buffer, it will make a copy of the memory as well, rather than reusing the original memory.