Chromium, Memset, Open Source, Cpp, Bug Fixes.
unsigned char badcode[4] = { 0xDE, 0xC0, 0xAD, 0x0B }; size_t n = 0; generate_n(static_cast<char *>(buf), size, [&] { if (n == 4) n = 0; return badcode[n++]; }); } Recommendation There is no any special recommendation. Once again, we have seen that memsetfunction is actually not needed here, as it