You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A constructor for the Span2D<T> to create a 2D view over a Span<T>. Currently only arrays and pointers but I believe a Span would also be suitable. In fact, I think I can see an implementation already there, it's just marked as internal.
API breakdown
publicreadonlyref partial structSpan2D<T>{// ...
public Span2D(Span<T>span,intheight,intwidth): this (span,0,height,width,0){...}
public Span2D(Span<T> span,int offset,int height,int width,int pitch){...}// ...}
Overview
A constructor for the
Span2D<T>
to create a 2D view over aSpan<T>
. Currently only arrays and pointers but I believe aSpan
would also be suitable. In fact, I think I can see an implementation already there, it's just marked as internal.API breakdown
Usage example
Breaking change?
No
Alternatives
Additional context
No response
Help us help you
Yes, but only if others can assist
The text was updated successfully, but these errors were encountered: