diff --git a/test.cpp b/test.cpp index 3b1f55a..599360c 100644 --- a/test.cpp +++ b/test.cpp @@ -290,7 +290,7 @@ namespace ASIOTest { } std::vector Read() { - constexpr auto readSizeBytes = 4096; + constexpr auto readSizeBytes = 12 * 1024; // 12 is the least common multiple of 2 (16-bit), 3 (24-bit) and 4 (32-bit), so the read will always be aligned std::vector data; for (;;) { data.resize(data.size() + readSizeBytes);