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.
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.