Function bin_buffer::buffer_append_buffer
source · Expand description
Just copies the content of the second buffer to the end of the first buffer.
Example
use bin_buffer::*;
let mut buffer = vec![0,1,2,3];
let source = &vec![4,5];
buffer_append_buffer(&mut buffer, source);
assert_eq!(buffer,vec![0,1,2,3,4,5]);