From time to time you will find yourself in the need of slicing up large chunks of bites into smaller chunks of consumable bites.
To see the Chunk method in action, have a look at Figure 1. For simplicity i set a chunk size to 255 and a workload count to 4096. This means that our workload consists of 4096 elements which we will process 255 elements at time. This leaves us with a workload of 17 runs in total.
Figure 2: The output of the test in Figure 1.
I hope you liked this little peek into one of the many day-to-day helper methods found through out the Cuemon assembly family. Happy coding!