We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e6fbdb commit 39eba0dCopy full SHA for 39eba0d
src/ImageSharp/Formats/Jpeg/JpegEncoderCore.cs
@@ -265,7 +265,7 @@ private void WriteJfifApplicationHeader(ImageMetadata meta)
265
private void WriteDefineHuffmanTables(int componentCount)
266
{
267
// Table identifiers.
268
- ReadOnlySpan<byte> headers = new byte[]
+ ReadOnlySpan<byte> headers = stackalloc byte[]
269
270
0x00,
271
0x10,
0 commit comments