Copies the contents of src to dest, increasing dest.length if required. Since dest.length will not be decreased, dest will contain tailing garbage if src.length < dest.length.
Template params: T = type of array element
reference to the destination array
slice to copied elements in dest
auto dst = createBuffer("aa"); copyExtend(dst, "bbbb"); test!("==")(dst[], "bbbb"); copyExtend(dst, "ccc"); test!("==")(dst[], "cccb");
See Implementation
Copies the contents of src to dest, increasing dest.length if required. Since dest.length will not be decreased, dest will contain tailing garbage if src.length < dest.length.
Template params: T = type of array element