|
|
|
@ -38,9 +38,6 @@ namespace SixLabors.ImageSharp.Memory |
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// Thrown when the backing group is discontiguous.
|
|
|
|
/// </exception>
|
|
|
|
// TODO: Review all usages, should be only used with buffers which do not scale fully with image size!
|
|
|
|
// Remove [Obsolete], when done!
|
|
|
|
[Obsolete("TODO: Review all usages!")] |
|
|
|
internal static Span<T> GetSingleSpan<T>(this Buffer2D<T> buffer) |
|
|
|
where T : struct |
|
|
|
{ |
|
|
|
@ -64,9 +61,6 @@ namespace SixLabors.ImageSharp.Memory |
|
|
|
/// <exception cref="InvalidOperationException">
|
|
|
|
/// Thrown when the backing group is discontiguous.
|
|
|
|
/// </exception>
|
|
|
|
// TODO: Review all usages, should be only used with buffers which do not scale fully with image size!
|
|
|
|
// Remove [Obsolete], when done!
|
|
|
|
[Obsolete("TODO: Review all usages!")] |
|
|
|
internal static Memory<T> GetSingleMemory<T>(this Buffer2D<T> buffer) |
|
|
|
where T : struct |
|
|
|
{ |
|
|
|
|