|
|
@@ -35,7 +35,8 @@ namespace Framework
|
|
|
//! \param daten The bytes to copy
|
|
|
//! \param length The length of the array
|
|
|
DLLEXPORT void setBytes(const char* daten, int length);
|
|
|
- //! Deletes the array and takes ownership of the given one without copying
|
|
|
+ //! Deletes the array and takes ownership of the given one without
|
|
|
+ //! copying
|
|
|
//! \param daten The new byte array
|
|
|
//! \param length The length of the array
|
|
|
DLLEXPORT void setBytesZ(char* daten, int length);
|
|
|
@@ -46,7 +47,8 @@ namespace Framework
|
|
|
//! \param c The value to set the bytes to
|
|
|
//! \param len The number of bytes to set
|
|
|
DLLEXPORT void fill(const char c, int len);
|
|
|
- //! Sets a specific section of bytes of the array to a specific value
|
|
|
+ //! Sets a specific section of bytes of the array to a specific
|
|
|
+ //! value
|
|
|
//! \param c The value to set the bytes to
|
|
|
//! \param beg The start position of the section to set
|
|
|
//! \param end The end position of the section to set (exclusive)
|
|
|
@@ -90,10 +92,10 @@ namespace Framework
|
|
|
DLLEXPORT void setKey(const char* s, int length);
|
|
|
//! Encrypts a byte array with the set key
|
|
|
//! \param daten The byte array to encrypt. Modified by the function
|
|
|
- DLLEXPORT void encode2(Bytes* daten);
|
|
|
+ DLLEXPORT void encode(Bytes* daten);
|
|
|
//! Decrypts a byte array with the set key
|
|
|
//! \param daten The byte array to decrypt. Modified by the function
|
|
|
- DLLEXPORT void decode2(Bytes* daten);
|
|
|
+ DLLEXPORT void decode(Bytes* daten);
|
|
|
};
|
|
|
} // namespace Encryption
|
|
|
} // namespace Framework
|