@@ -43,7 +43,7 @@ public virtual void FromArgb32(Configuration configuration, ReadOnlySpan<Argb32>
4343 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
4444 public void FromArgb32Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
4545 {
46- this . FromArgb32 ( configuration , MemoryMarshal . Cast < byte , Argb32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
46+ this . FromArgb32 ( configuration , MemoryMarshal . Cast < byte , Argb32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
4747 }
4848
4949 /// <summary>
@@ -79,7 +79,7 @@ public virtual void ToArgb32(Configuration configuration, ReadOnlySpan<TPixel> s
7979 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
8080 public void ToArgb32Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
8181 {
82- this . ToArgb32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Argb32 > ( destBytes . Slice ( 0 , count ) ) ) ;
82+ this . ToArgb32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Argb32 > ( destBytes ) ) ;
8383 }
8484
8585 /// <summary>
@@ -115,7 +115,7 @@ public virtual void FromBgr24(Configuration configuration, ReadOnlySpan<Bgr24> s
115115 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
116116 public void FromBgr24Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
117117 {
118- this . FromBgr24 ( configuration , MemoryMarshal . Cast < byte , Bgr24 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
118+ this . FromBgr24 ( configuration , MemoryMarshal . Cast < byte , Bgr24 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
119119 }
120120
121121 /// <summary>
@@ -151,7 +151,7 @@ public virtual void ToBgr24(Configuration configuration, ReadOnlySpan<TPixel> so
151151 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
152152 public void ToBgr24Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
153153 {
154- this . ToBgr24 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgr24 > ( destBytes . Slice ( 0 , count ) ) ) ;
154+ this . ToBgr24 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgr24 > ( destBytes ) ) ;
155155 }
156156
157157 /// <summary>
@@ -187,7 +187,7 @@ public virtual void FromBgra32(Configuration configuration, ReadOnlySpan<Bgra32>
187187 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
188188 public void FromBgra32Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
189189 {
190- this . FromBgra32 ( configuration , MemoryMarshal . Cast < byte , Bgra32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
190+ this . FromBgra32 ( configuration , MemoryMarshal . Cast < byte , Bgra32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
191191 }
192192
193193 /// <summary>
@@ -223,7 +223,7 @@ public virtual void ToBgra32(Configuration configuration, ReadOnlySpan<TPixel> s
223223 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
224224 public void ToBgra32Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
225225 {
226- this . ToBgra32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgra32 > ( destBytes . Slice ( 0 , count ) ) ) ;
226+ this . ToBgra32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgra32 > ( destBytes ) ) ;
227227 }
228228
229229 /// <summary>
@@ -259,7 +259,7 @@ public virtual void FromL8(Configuration configuration, ReadOnlySpan<L8> source,
259259 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
260260 public void FromL8Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
261261 {
262- this . FromL8 ( configuration , MemoryMarshal . Cast < byte , L8 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
262+ this . FromL8 ( configuration , MemoryMarshal . Cast < byte , L8 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
263263 }
264264
265265 /// <summary>
@@ -295,7 +295,7 @@ public virtual void ToL8(Configuration configuration, ReadOnlySpan<TPixel> sourc
295295 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
296296 public void ToL8Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
297297 {
298- this . ToL8 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , L8 > ( destBytes . Slice ( 0 , count ) ) ) ;
298+ this . ToL8 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , L8 > ( destBytes ) ) ;
299299 }
300300
301301 /// <summary>
@@ -331,7 +331,7 @@ public virtual void FromL16(Configuration configuration, ReadOnlySpan<L16> sourc
331331 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
332332 public void FromL16Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
333333 {
334- this . FromL16 ( configuration , MemoryMarshal . Cast < byte , L16 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
334+ this . FromL16 ( configuration , MemoryMarshal . Cast < byte , L16 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
335335 }
336336
337337 /// <summary>
@@ -367,7 +367,7 @@ public virtual void ToL16(Configuration configuration, ReadOnlySpan<TPixel> sour
367367 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
368368 public void ToL16Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
369369 {
370- this . ToL16 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , L16 > ( destBytes . Slice ( 0 , count ) ) ) ;
370+ this . ToL16 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , L16 > ( destBytes ) ) ;
371371 }
372372
373373 /// <summary>
@@ -403,7 +403,7 @@ public virtual void FromLa16(Configuration configuration, ReadOnlySpan<La16> sou
403403 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
404404 public void FromLa16Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
405405 {
406- this . FromLa16 ( configuration , MemoryMarshal . Cast < byte , La16 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
406+ this . FromLa16 ( configuration , MemoryMarshal . Cast < byte , La16 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
407407 }
408408
409409 /// <summary>
@@ -439,7 +439,7 @@ public virtual void ToLa16(Configuration configuration, ReadOnlySpan<TPixel> sou
439439 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
440440 public void ToLa16Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
441441 {
442- this . ToLa16 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , La16 > ( destBytes . Slice ( 0 , count ) ) ) ;
442+ this . ToLa16 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , La16 > ( destBytes ) ) ;
443443 }
444444
445445 /// <summary>
@@ -475,7 +475,7 @@ public virtual void FromLa32(Configuration configuration, ReadOnlySpan<La32> sou
475475 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
476476 public void FromLa32Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
477477 {
478- this . FromLa32 ( configuration , MemoryMarshal . Cast < byte , La32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
478+ this . FromLa32 ( configuration , MemoryMarshal . Cast < byte , La32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
479479 }
480480
481481 /// <summary>
@@ -511,7 +511,7 @@ public virtual void ToLa32(Configuration configuration, ReadOnlySpan<TPixel> sou
511511 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
512512 public void ToLa32Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
513513 {
514- this . ToLa32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , La32 > ( destBytes . Slice ( 0 , count ) ) ) ;
514+ this . ToLa32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , La32 > ( destBytes ) ) ;
515515 }
516516
517517 /// <summary>
@@ -547,7 +547,7 @@ public virtual void FromRgb24(Configuration configuration, ReadOnlySpan<Rgb24> s
547547 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
548548 public void FromRgb24Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
549549 {
550- this . FromRgb24 ( configuration , MemoryMarshal . Cast < byte , Rgb24 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
550+ this . FromRgb24 ( configuration , MemoryMarshal . Cast < byte , Rgb24 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
551551 }
552552
553553 /// <summary>
@@ -583,7 +583,7 @@ public virtual void ToRgb24(Configuration configuration, ReadOnlySpan<TPixel> so
583583 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
584584 public void ToRgb24Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
585585 {
586- this . ToRgb24 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgb24 > ( destBytes . Slice ( 0 , count ) ) ) ;
586+ this . ToRgb24 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgb24 > ( destBytes ) ) ;
587587 }
588588
589589 /// <summary>
@@ -619,7 +619,7 @@ public virtual void FromRgba32(Configuration configuration, ReadOnlySpan<Rgba32>
619619 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
620620 public void FromRgba32Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
621621 {
622- this . FromRgba32 ( configuration , MemoryMarshal . Cast < byte , Rgba32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
622+ this . FromRgba32 ( configuration , MemoryMarshal . Cast < byte , Rgba32 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
623623 }
624624
625625 /// <summary>
@@ -655,7 +655,7 @@ public virtual void ToRgba32(Configuration configuration, ReadOnlySpan<TPixel> s
655655 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
656656 public void ToRgba32Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
657657 {
658- this . ToRgba32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgba32 > ( destBytes . Slice ( 0 , count ) ) ) ;
658+ this . ToRgba32 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgba32 > ( destBytes ) ) ;
659659 }
660660
661661 /// <summary>
@@ -691,7 +691,7 @@ public virtual void FromRgb48(Configuration configuration, ReadOnlySpan<Rgb48> s
691691 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
692692 public void FromRgb48Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
693693 {
694- this . FromRgb48 ( configuration , MemoryMarshal . Cast < byte , Rgb48 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
694+ this . FromRgb48 ( configuration , MemoryMarshal . Cast < byte , Rgb48 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
695695 }
696696
697697 /// <summary>
@@ -727,7 +727,7 @@ public virtual void ToRgb48(Configuration configuration, ReadOnlySpan<TPixel> so
727727 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
728728 public void ToRgb48Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
729729 {
730- this . ToRgb48 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgb48 > ( destBytes . Slice ( 0 , count ) ) ) ;
730+ this . ToRgb48 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgb48 > ( destBytes ) ) ;
731731 }
732732
733733 /// <summary>
@@ -763,7 +763,7 @@ public virtual void FromRgba64(Configuration configuration, ReadOnlySpan<Rgba64>
763763 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
764764 public void FromRgba64Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
765765 {
766- this . FromRgba64 ( configuration , MemoryMarshal . Cast < byte , Rgba64 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
766+ this . FromRgba64 ( configuration , MemoryMarshal . Cast < byte , Rgba64 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
767767 }
768768
769769 /// <summary>
@@ -799,7 +799,7 @@ public virtual void ToRgba64(Configuration configuration, ReadOnlySpan<TPixel> s
799799 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
800800 public void ToRgba64Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
801801 {
802- this . ToRgba64 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgba64 > ( destBytes . Slice ( 0 , count ) ) ) ;
802+ this . ToRgba64 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Rgba64 > ( destBytes ) ) ;
803803 }
804804
805805 /// <summary>
@@ -835,7 +835,7 @@ public virtual void FromBgra5551(Configuration configuration, ReadOnlySpan<Bgra5
835835 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
836836 public void FromBgra5551Bytes ( Configuration configuration , ReadOnlySpan < byte > sourceBytes , Span < TPixel > destinationPixels , int count )
837837 {
838- this . FromBgra5551 ( configuration , MemoryMarshal . Cast < byte , Bgra5551 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels . Slice ( 0 , count ) ) ;
838+ this . FromBgra5551 ( configuration , MemoryMarshal . Cast < byte , Bgra5551 > ( sourceBytes ) . Slice ( 0 , count ) , destinationPixels ) ;
839839 }
840840
841841 /// <summary>
@@ -871,7 +871,7 @@ public virtual void ToBgra5551(Configuration configuration, ReadOnlySpan<TPixel>
871871 [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
872872 public void ToBgra5551Bytes ( Configuration configuration , ReadOnlySpan < TPixel > sourcePixels , Span < byte > destBytes , int count )
873873 {
874- this . ToBgra5551 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgra5551 > ( destBytes . Slice ( 0 , count ) ) ) ;
874+ this . ToBgra5551 ( configuration , sourcePixels . Slice ( 0 , count ) , MemoryMarshal . Cast < byte , Bgra5551 > ( destBytes ) ) ;
875875 }
876876 }
877877}
0 commit comments