Click to See Complete Forum and Search --> : Help with c#
quantumfusion
Jun 20th, 2007, 12:45 AM
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
ComputerJy
Jun 20th, 2007, 05:59 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.