Writing into memory and reading from memory

In reply to basilleaf:

You need to show us where you think you have assigned a value to byte_data. I do not see where you made that assignment.