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

Search Results for

    Edit this page

    Method WriteTo

    | Edit this page View Source

    WriteTo(Span<byte>)

    Writes the contents of the buffer to a byte span.

    Declaration
    public void WriteTo(Span<byte> destination)
    Parameters
    Type Name Description
    Span<byte> destination

    Target byte span. Length must be >= SizeInBytes.

    Implements
    IGridBuffer.WriteTo(Span<byte>)
    Exceptions
    Type Condition
    ArgumentException

    Thrown if destination is too small.