Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm: close base64 encoder #22

Merged
merged 1 commit into from
Nov 14, 2023
Merged

wasm: close base64 encoder #22

merged 1 commit into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. wasm: close base64 encoder

    Close the base64 encoder before returning the buffer. This ensures that
    all the bytes are written to the buffer. Without this, the last few
    bytes may be missing, resulting in a corrupted image. Usually, this
    would only corrupt the checksum, and the image would still be displayed
    fine. However, some applications do not like this (e.g., slack).
    oncilla committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    a9bdd36 View commit details
    Browse the repository at this point in the history