move buffer initialization to buffer_create
Description
Move the buffer initialization to the create_buffer routines. The initialization to zero is controlled by an optional argument.
News snippet
Move the buffer initialization to the create_buffer routines.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.