TPhysicalMemoryBlock

TMemoryBlock that physically allocates and frees the memory required to hold Size bytes.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TSerializableObjectAbstract base class for an object that supports reading from and writing to a stream.
4TByteBlockAbstract base class for a block of TByte
5TMemoryBlockTByteBlock for internal memory.
6TPhysicalMemoryBlock

Source

Memory.Block.Physical.pas (27)

Fields

ScopeVisibilityTypeNameDescription
InstanceprivateTPositiveInteger32FCapacity
InstanceprotectedPByteFAddress
InstanceprotectedTPositiveInteger32FSize

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetCapacity(Value: TPositiveInteger32)
InstanceprivateRescaleCapacity(NewSize: TPositiveInteger32)
InstanceprotectedPByteGetAddress()
InstanceprotectedTPositiveInteger32GetSize()
InstanceprotectedSetSize(Value: TPositiveInteger32)
InstancepublicCreate(Size: TPositiveInteger32)
InstancepublicDestroy()
InstancepublicTMemoryBlockCopy()
TypepublicTPhysicalMemoryBlockCreateAsCopy(Source: TByteBlock)