Dumps raw bytes into the buffer. No endianness conversion or whatever.
Responsibility that there's enough capacity is on the user
Remove last elements such that new size is equal to size.
See Implementation