| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
The change looks OK, but I opened the issue because I'm not sure it's enough to just fix the warning. |
Sorry, something went wrong.
|
@targos I realise that the code here matches this: |
Sorry, something went wrong.
|
We cannot use that code from V8 as it is not part of their public API. |
Sorry, something went wrong.
|
In that case should we prefer using the types that were used originally? |
Sorry, something went wrong.
V8 implements this for strings. Strings in JS have a bounded size, which is smaller than INT_MAX. We implement this for Buffers, which also have a bounded size, but that size doesn’t fit into an int (at least on 64-bit platforms). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes: #37145