get_file_contents


Description:

public void get_file_contents (string contents, size_t len)

Gets the contents of the XML service type 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 some error occurs, contents is set to null .

Parameters:

this

the ServiceType.

contents

location to receive the pointer to the file contents.

len

location to receive the length of the file, in bytes.