Add {@code n} elements to buffer.
@return The actual number of elements added to the buffer.
See Implementation
Add {@code n} elements to buffer.
@return The actual number of elements added to the buffer.