I'm creating a string that will be converted to base64. The string includes some text (standard string stuff) and some DWORDs. I need to concatenate the string along the lines of
text + DWORD + DWORD + text
A UInteger will hold a DWORD nicely (since a DWORD is an unsigned 32 bit int), but I can't figure out how to tack it onto the string in its true byte form, as opposed to a string representation of the number. That is, I don't want:
sample + 69 + 2383 + example
but rather
sample + 69 in its true 4-byte form + {b]2383 in its true 4-byte form[/b] + example
Does that make sense? I can't figure out how to concatenate the 4 bytes that are the uint version of the number instead of the string representation.
text + DWORD + DWORD + text
A UInteger will hold a DWORD nicely (since a DWORD is an unsigned 32 bit int), but I can't figure out how to tack it onto the string in its true byte form, as opposed to a string representation of the number. That is, I don't want:
sample + 69 + 2383 + example
but rather
sample + 69 in its true 4-byte form + {b]2383 in its true 4-byte form[/b] + example
Does that make sense? I can't figure out how to concatenate the 4 bytes that are the uint version of the number instead of the string representation.