get_contents


Description:

public char* get_contents ()

Returns the contents of a MappedFile.

Note that the contents may not be zero-terminated, even if the MappedFile is backed by a text file.

If the file is empty then null is returned.

Parameters:

this

a MappedFile

Returns:

the contents of this, or null.