-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a driver user
I want the driver to be platform-agnostic
So that I can run my application in different existing and future runtimes
User Experience
- Nodejs Buffer is used if applicable, Uint8Array is used otherwise
Dependencies
- N/A
Risks/Unknowns
- N/A
Acceptance Criteria
Implementation Requirements
- Identify all the Buffer methods that are used in the driver
- Make sure all of them are either implemented in BSON library or implement new functionality there (.compare, for example)
- Export ByteUtils from BSON
- Functionality from the BSON library must be used
Testing Requirements
- Existing unit tests pass, new tests are written if applicable
Documentation Requirements
- N/A
Follow Up Requirements
- N/A
1.
|
Add missing APIs into ByteUtils and export it from BSON | NODE-7314 |
|
In Code Review | Bailey Pearson | |
2.
|
Use BSON ByteUtils instead of Nodejs Buffer | NODE-7315 |
|
Ready for Work | Unassigned |