Show / Hide Table of Contents

    Interface IResizableDirectMemory

    Represents a resizable memory block interface with direct access (via unmanaged pointers).

    Представляет интерфейс блока памяти c изменяемым размером и прямым доступом (через неуправляемые указатели).

    Inherited Members
    IDirectMemory.Pointer
    IMemory.Size
    IDisposable.Dispose()
    Namespace: Platform.Memory
    Assembly: Platform.Memory.dll
    Syntax
    public interface IResizableDirectMemory : IDirectMemory, IMemory, IDisposable

    Properties

    | Improve this Doc View Source

    ReservedCapacity

    Gets or sets the reserved capacity in bytes of this memory block.

    Возвращает или устаналивает зарезервированный размер блока памяти в байтах.

    Declaration
    long ReservedCapacity { get; set; }
    Property Value
    Type Description
    Int64
    Remarks

    If less then zero the value is replaced with zero. Cannot be less than the used capacity of this memory block.

    Если меньше нуля, значение заменяется на ноль. Не может быть меньше используемой емкости блока памяти.

    | Improve this Doc View Source

    UsedCapacity

    Gets or sets the used capacity in bytes of this memory block.

    Возвращает или устанавливает используемый размер в блоке памяти (в байтах).

    Declaration
    long UsedCapacity { get; set; }
    Property Value
    Type Description
    Int64
    Remarks

    If less then zero the value is replaced with zero. Cannot be greater than the reserved capacity of this memory block.

    It is recommended to reduce the reserved capacity of the memory block to the used capacity (specified in this property) after the completion of the use of the memory block.

    Если меньше нуля, значение заменяется на ноль. Не может быть больше, чем зарезервированная емкость этого блока памяти.

    Рекомендуется уменьшать фактический размер блока памяти до используемого размера (указанного в этом свойстве) после завершения использования блока памяти.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX