Function bufferLock

  • Locks a buffer so that it cannot be swapped. On systems that support it, the data will not be included in core dumps. Calling this is idempotent.

    Type Parameters

    • T extends Buffer

    Parameters

    • data: T
    • strict: boolean = true

    Returns asserts data is BufferLocked<T>

Generated using TypeDoc