Unmarshals a DOFPermission from a buffer.
- Parameters
-
| size | The size of the buffer, in bytes, from which to unmarshal the DOFPermission. |
| buffer | The buffer from which to unmarshal the DOFPermission. This must not be NULL, and must contain at least size bytes. |
- Returns
- DOFPermission The DOFPermission that is stored in the buffer.
- Exceptions
-
| NULL | is returned if the buffer contents of size could not be unmarshalled to a valid DOFPermission, or there are insufficient resources to allocate the DOFPermission. |