Parameter for input. Default is transfer none.
Out parameter, where caller must allocate storage.
Don't free data after the code is done.