## The problem
Issue mindee/mindee-api-nodejs#101 (closed, 5 comments): the reporter generated PDFs with pdf-lib as a Buffer and had to hex-encode before uploading, which was wasteful since the SDK decoded it back. The maintainer agreed Buffer input made sense and shipped it in v3.1.1.

## What fixed it
You dont need to hex-encode a Buffer before sending it to the Mindee Node SDK anymore. Buffer input sources landed in v3.1.1, so upgrade and pass the Buffer straight in. If you are pinned to an older version, the hex round-trip is the workaround, but upgrading is the real fix.