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
Printable View
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
When overridden in a derived class, encodes all the characters in the specified String into a sequence of bytes.Quote:
Encoding.get_Default().GetBytes(whatever)
Returns the specified 32-bit (or whatever is the size of the variable) signed integer value as an array of bytesQuote:
BitConverter.GetBytes(num2 + 1)
When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.Quote:
Encoding.get_Default().GetString(buffer1, 5, num4);