create_from_file


Description:

[ CCode ( cname = "gpgme_data_new_from_file" ) ]
public static Error create_from_file (out Data d, string filename, int copy = 1)

Create a new data buffer filled with the content of the file. COPY must be non-zero. For delayed read, please use create_from_fd or create_from stream instead.