Then how would I return a buffer object to the user?