|
-
Jan 28th, 2006, 03:39 AM
#2
Re: Load Image File
You've misunderstood what Byte.Parse does. It attempts to convert a string representation of the numbers from 0 to 255 into their 8-bit numerical equivalent. It is exactly the same as Integer.Parse except it produces an 8-bit number instead of a 32-bit number. What you want, I'm assuming, is the Bytes that represent the characters in your string. To do that you would use the GetBytes method of an Encoding object.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|