NODE-7642Backlog

respect Binary position in toExtendedJSON

h3. Expected Behavior As a user of js-bson I expect only written bytes of a Binary to be encoded When calling toExtendedJSON h3. Actual Behavior and Impact * calling toExtendedJSON will base64 document values representing the full underlying buffer for binary types, not just the data therein. * No known customer reports today. h3. Dependencies * _None_ h3. Risks/Unknowns * Any consumer that was inadvertently relying on the padded base64 output (e.g., reading the full 256-by

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue
BSONEJSON
Labels
Tags and classification
external-PR