1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Minor doc typo fixes.

FossilOrigin-Name: ed8d3f25a4d6ac04d9f7918c791d8d2c6f23ce846278ca63f8fbadb7ea27369f
This commit is contained in:
stephan
2022-10-27 03:57:48 +00:00
parent 3d420836fd
commit 4f975c3379
4 changed files with 12 additions and 12 deletions

View File

@ -233,8 +233,8 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
This distinction is important for APIs which don't like to
work on SABs, e.g. TextDecoder, and possibly for our
own APIs which work on memory ranges which "might" be
modified by other threads while it's working.
*/
modified by other threads while they're working.
*/
const typedArrayPart = (aTypedArray, begin, end)=>{
return isSharedTypedArray(aTypedArray)
? aTypedArray.slice(begin, end)
@ -276,7 +276,7 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
Uses TextDecoder to decode the given half-open range of the
given TypedArray to a string. This differs from a simple
call to TextDecoder in that it accounts for whether the
first argument is based by a SharedArrayBuffer or not,
first argument is backed by a SharedArrayBuffer or not,
and can work more efficiently if it's not (TextDecoder
refuses to act upon an SAB).
*/