Interface IMemoryBlock
public interface IMemoryBlock
- Extension Methods
Properties
Address
The start address of this memory block.
void* Address { get; }
Property Value
- void*
BytesLength
How many bytes are stored in this memory block.
long BytesLength { get; }
Property Value
Remarks
Calculated by Count*ItemLength
Count
How many items are stored in Address.
long Count { get; }
Property Value
Remarks
Not to confuse with BytesLength
ItemLength
The size of a single item stored in Address.
int ItemLength { get; }
Property Value
Remarks
Equivalent to NPTypeCode.SizeOf extension.
TypeCode
The NPTypeCode of the type stored inside this memory block.
NPTypeCode TypeCode { get; }