get_file_contents


Description:

public void get_file_contents (string contents, size_t data_offset)

Gets the contents of the XML service file.

The buffer returned in contents should not be modified or freed, and is guaranteed to be valid as long as this is referenced. If data_offset is not null, it is set to the offset where the <type_data> element can be found. If some error occurs, contents is set to null.

Parameters:

this

the Service.

contents

location to receive the pointer to the file contents.

data_offset

pointer to receive the offset of the type data.