|
-
Jun 20th, 2007, 12:45 AM
#1
Thread Starter
New Member
Help with c#
what does
Encoding.get_Default().GetBytes(whatever)
do ?
and
BitConverter.GetBytes(num2 + 1)
do ?
and
text1 = Encoding.get_Default().GetString(buffer1, 5, num4);
do ?
thanks
-
Jun 20th, 2007, 05:59 AM
#2
Re: Help with c#
Encoding.get_Default().GetBytes(whatever)
When overridden in a derived class, encodes all the characters in the specified String into a sequence of bytes.
BitConverter.GetBytes(num2 + 1)
Returns the specified 32-bit (or whatever is the size of the variable) signed integer value as an array of bytes
Encoding.get_Default().GetString(buffer1, 5, num4);
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
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
|