private void copyToSpanScalars(Span <Utf16SharedChar> span, ReadOnlySpan <char> values, SharedSpan valueSpan)
 {
     for (int i = 0; i < values.Length; i++)
     {
         span[i] = new Utf16SharedChar(values[i], valueSpan);
     }
 }
Beispiel #2
0
 public Utf16SharedChar(char buffer, SharedSpan sharedSpan)
 {
     Buffer     = buffer;
     SharedSpan = sharedSpan;
 }