Nice video, man. But... You use pointer and don't release memory. Smart Pointer will not fix it - there are troubles. Could you give me some advice? I think that we need create wrapper for byte's array. Just delete[] array in functions doesn't look very good
If you read the docs carefully, it is clearly stated that the memory is automatically freed even when new is used. The wrapper class you where asking about is the 'SecByteBlock' class that acts like a byte array.
Nice video, man.
But... You use pointer and don't release memory. Smart Pointer will not fix it - there are troubles. Could you give me some advice? I think that we need create wrapper for byte's array. Just delete[] array in functions doesn't look very good
If you read the docs carefully, it is clearly stated that the memory is automatically freed even when new is used. The wrapper class you where asking about is the 'SecByteBlock' class that acts like a byte array.