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

Search Results for

    Edit this page

    Method SetFromBytes

    | Edit this page View Source

    SetFromBytes(ReadOnlySpan<byte>)

    Populates the buffer from a byte span. Length must exactly match SizeInBytes.

    Declaration
    public void SetFromBytes(ReadOnlySpan<byte> source)
    Parameters
    Type Name Description
    ReadOnlySpan<byte> source

    Source byte span.

    Implements
    IGridBuffer.SetFromBytes(ReadOnlySpan<byte>)
    Exceptions
    Type Condition
    ArgumentException

    Thrown if span length does not match.