On Tuesday, 17 May 2022 at 11:43:45 UTC, Siarhei Siamashka wrote: > Looks like you forgot to increment the pointer and need "*d++ = > cast(ubyte) c;" there. hahaha yup. > And filling the buffer one byte at a time is likely slow. prolly but meh, that's where the intrinsics are nice.