ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method GetArrayUnsafe

    | Edit this page View Source

    GetArrayUnsafe()

    Get internal data array.

    Declaration
    public T[] GetArrayUnsafe()
    Returns
    Type Description
    T[]
    Implements
    IGrid<T>.GetArrayUnsafe()
    Remarks

    WARNING: (Unsafe, Direct access). Use SetValue(ReadOnlySpan<T>) or GetBuffer() for safer access in most cases. Modifying this array will directly affect the grid. Only use this if you know what you're doing!!