Buffer Use Uint8Array
This is still partially incomplete. All tests are passing, but some parts still need to be hardened. The native API needs to return MaybeLocal<>
, and CreateFromString()
needs to check the return value to make sure the string could be written.
All existing tests are passing. A good chunk of the JS changes are whitespace related. For the conditional logic to allow --use-old-buffer
flag.
R=@bnoordhuis