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.
2 parents c918cbf + d97199a commit a65b38dCopy full SHA for a65b38d
PdfSharpCore/Pdf.Filters/FlateDecode.cs
@@ -81,6 +81,8 @@ public byte[] Encode(byte[] data, PdfFlateEncodeMode mode)
81
/// </summary>
82
public override byte[] Decode(byte[] data, FilterParms parms)
83
{
84
+ if (data.Length == 0) return data;
85
+
86
MemoryStream msInput = new MemoryStream(data);
87
MemoryStream msOutput = new MemoryStream();
88
0 commit comments