Skip to content

Changes from 1.4.2 to 1.4.3

Andrej Dobes edited this page Aug 4, 2017 · 4 revisions

License

  • Changed license from Apache 2.0 to MIT.

PacketBuilder class

  • Newly added class.
  • Represents builder for packet. Class allows to use all writing methods that Packet class has.

AesEncryptor class

  • Removed method "byte[] Encrypt(string)".
  • Added method "byte[] Encrypt(string, Encoding)" with default encoding value "null" (ASCII will be used in case of null).
  • Added method "string Decrypt(byte[], Encoding)" with default encoding value "null" (ASCII will be used in case of null).
  • Method "byte[] Decrypt(string)" marked as obsolete.

ByteBuffer class

  • Removed method "void Write(string)".
  • Removed method "string ReadString()".
  • Added method "void Write(string, Encoding)" with default encoding value "null" (ASCII will be used in case of null).
  • Added method "string ReadString(Encoding)" with default encoding value "null" (ASCII will be used in case of null).

Packet class

  • Added method "PacketBuilder Builder()".