Merging Pdfs into MemoryStream from a Stream array

According to the documentation, Concatenate PDF documents in C#|Aspose.PDF for .NET this should work

    public MemoryStream JoinPdfStreams(Stream[] pdfStreams)
    {
        MemoryStream mergedPdfStream = new MemoryStream();
        PdfFileEditor pdfEditor = new PdfFileEditor();

        pdfEditor.Concatenate(pdfStreams, mergedPdfStream);

        return mergedPdfStream;
    }

But the mergedPdfStream is empty, nothing is on it, also no exception is thrown…
Any insight on what I am missing there?
Thanks!

@joslat,

Can please attach the Pdf documents you are trying to merge so I can test that myself, please?

No need, it was my mistake that the memory streams were wrong :blush:

@joslat,

Great to hear the problem was solved. Let us know if you need help with something else.