Results 1 to 5 of 5

Thread: Resolved-String to Byte[]?

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2007
    Posts
    26

    Resolved-String to Byte[]?

    OK, there's two ways to do this, but I only need the 2nd one.
    1) Convert string to corresponding byte[] value (i.e "adslfI" == {0x44, 0x55)) (Not really true, but you get the idea) I don't need this one!
    and
    2) Convert it as if it was a byte array, so: in a textBox I put in: "44 AF 8E", and then it's converted to a byte array: {0x44, 0xAF, 0x8E}.

    I've looked at various ASCII encoding and none get the job done, probably needs a for loop and some other crap...
    Last edited by gamesguru; Sep 4th, 2007 at 02:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width