I understand what you are saying, BUT...

I still have to convert data that is in 8 or 16 bit samples that have signed typecasting and convert it to unsigned samples.

This is now getting into the issue of how I calculate/convert the new sample data to fit into the new format than how I would actually write it into the allocated memory. Though... the it is where the two are somewhat tied.

Anyhow I think I know how to read/write to the memory, I just have to tackle the conversion issue now.