Write length bytes of data to an output range, repeating data as necessary
import std.array : appender; auto result_app = appender!(ubyte[]); result_app.stretchPut([0, 1, 2], 7); assert (result_app[] == [0, 1, 2, 0, 1, 2, 0]);
See Implementation
Write length bytes of data to an output range, repeating data as necessary