I'm still learning on byte writing stuff. Not sure why it's been so
difficult for me. Though I can code web apps, VR tools and scripts
galore, simple byte-level writing is a mental roadblock. :) Here are
two questions that have stumped me...
1. One of the specs I'm coding for requires a Big Endian 8-bit hex
value -- meant to be the length of a C-String. So, I tried the
following...
In other words, I'm getting the byte value of the string. How do I
get that hex NSString to a literal byte array? Would there be a
better way to get a 8-bit hex value from an NSNumber?
2. The C-string measured above is meant to come from a url stored in
an NSString in a NSDictionary. To get the byte array I tried the
following...