Skip to content

Commit

Permalink
Merge pull request #394 from noctis0430-open-source/Issue/390
Browse files Browse the repository at this point in the history
Fix #390
  • Loading branch information
ststeiger committed Sep 27, 2023
2 parents c918cbf + d97199a commit a65b38d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PdfSharpCore/Pdf.Filters/FlateDecode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public byte[] Encode(byte[] data, PdfFlateEncodeMode mode)
/// </summary>
public override byte[] Decode(byte[] data, FilterParms parms)
{
if (data.Length == 0) return data;

MemoryStream msInput = new MemoryStream(data);
MemoryStream msOutput = new MemoryStream();

Expand Down

0 comments on commit a65b38d

Please sign in to comment.