moonbitlang/pdflite/portfolio does not have a README file

    PdfBytes

    type PdfBytes = Bytes

    PDF byte strings and byte streams.

    This is an alias for MoonBit Bytes because PDF strings and streams are byte sequences, not Unicode text. Use String only after an explicit PDF text decoding step.

    PdfPortfolioEntry

    pub(all) struct PdfPortfolioEntry {
    filename : String
    data : Bytes
    relationship : String?
    description : String?
    } derive(Eq, ToJson,
    Debug
    )

    One file to embed in a PDF portfolio.

    filename is used for the portfolio name-tree key and its basename is used for the file specification names. data is the raw embedded-file payload.

    PdfPortfolioEntry::equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfPortfolioEntry::equal(PdfPortfolioEntry, PdfPortfolioEntry) -> Bool

    PdfPortfolioEntry::not_equal

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfPortfolioEntry::not_equal(x : PdfPortfolioEntry, y : PdfPortfolioEntry) -> Bool

    PdfPortfolioEntry::to_json

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfPortfolioEntry::to_json(PdfPortfolioEntry) -> Json

    PdfPortfolioEntry::to_repr

    #deprecated("implicit trait-method promotion is being removed; call via the trait")
    fn PdfPortfolioEntry::to_repr(PdfPortfolioEntry) ->
    Repr

    pdf_portfolio_entry

    fn pdf_portfolio_entry(filename : String, data : BytesView, relationship? : String?, description? : String?) -> PdfPortfolioEntry

    Construct a portfolio entry, copying the supplied data view.