SouJack

Show:

What's happening?

  • Comment: Cutting the last character of the string

    the line: int length = value.Length+1; Don't exist! Because, actually it is not the last character, but, yes some that don't enter in the count of the size, but they enter in the array of bytes.

    2007-04-16 21:40:16 UTC in AMF.NET

  • Cutting the last character of the string

    In the file Serializer.cs, in the function WriteLongString, was with an error. Was cutting the last character of the string. I modified the function for: private void WriteLongString(string value) { int length = value.Length+1; byte[] buffer = Encoding.UTF8.GetBytes(value); WriteUInt32((UInt32)buffer.Length); Write(buffer, 0, buffer.Length);.

    2007-04-16 21:33:27 UTC in AMF.NET

About Me

  • 2007-04-15 (3 years ago)
  • 1770066
  • soujack (My Site)
  • SouJack

Send me a message