This doesn't need to be allocated on the heap. You can use `unsigned char valueBytes[valueSize];` instead.