Appends a new piece of data to the end of the buffer.
data to append to buffer
in-place slice to the location in the buffer where the new item was appended
See Implementation
Appends a new piece of data to the end of the buffer.