create_from_memory


Description:

[ CCode ( cname = "gpgme_data_new_from_mem" ) ]
public static Error create_from_memory (out Data d, uint8[] buffer, bool copy)

Create a new data buffer filled with SIZE bytes starting from BUFFER. If COPY is false, COPYING is delayed until necessary and the data is taken from the original location when needed. Returns Error Status Code.