Browse Source
Update src/ImageSharp/Memory/Buffer2D{T}.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
pull/2327/head
Stefan Nikolei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Memory/Buffer2D{T}.cs
|
|
|
@ -138,7 +138,7 @@ public sealed class Buffer2D<T> : IDisposable |
|
|
|
{ |
|
|
|
DebugGuard.MustBeGreaterThanOrEqualTo(y, 0, nameof(y)); |
|
|
|
DebugGuard.MustBeLessThan(y, this.Height, nameof(y)); |
|
|
|
return this.FastMemoryGroup.View!.GetBoundedMemorySlice(y * (long)this.Width, this.Width); |
|
|
|
return this.FastMemoryGroup.View.GetBoundedMemorySlice(y * (long)this.Width, this.Width); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|