Forums Register Login

Concating byte arrays generates NullPointerException

+Pie Number of slices to send: Send
For some reason, line 3 of the below code generates an error. Why? How many I fix it?

Thanks,
John Price



EDIT - Here is the error output :
+Pie Number of slices to send: Send
Obviously either byteSong or byteMessage is null.
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 753 times.
Similar Threads
Writing data to a byte array.
concat 2 strings using constructor
operator question
Data loss converting StringBuilder to byte[]?
(B&S) Help with my Update()
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 30, 2024 01:22:10.