Function Memory.calculateMemListSize
CalculateMemListSize -- Calculate the required size of a MemEntries
ulong calculateMemListSize
(
ulong entries
);
This function calculated the number of bytes required to store a MemEntries with a given number of Entries.
Parameters
Name | Description |
---|---|
entries | Numer of required entries. Must be greater or equal 1. |
Returns
number of bytes required for a MemEntries, or -1 in case of error !
See
AllocEntry(), FreeEntry(), CreateMemList(), DeleteMemList()