Added Doxygen comments to explicitly describe memory buffer ownership/responsibility.