Skip to content

libsodium.SecureMemoryblock.Constructor

Andrew Lambert edited this page Mar 15, 2017 · 7 revisions

Method Signatures

 Sub Constructor(RealMB As Ptr, RealSize As UInt64)
 Sub Constructor(Size As UInt64)

Parameters

###Constructor(Ptr, UInt64)

Name Type Comment
RealMB Ptr A pointer to some memory to be managed by the SecureMemoryBlock.
RealSize UInt64 The size of the memory block pointed to by RealMB.

###Constructor(UInt64)

Name Type Comment
Size UInt64 The size of the new memory block to be allocated.

Remarks

Constructs a new instance of SecureMemoryBlock, either by taking ownership of an existing pointer or by allocating new memory from the heap.

Clone this wiki locally