We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c1a8a commit f011b5cCopy full SHA for f011b5c
src/library_strings.js
@@ -101,7 +101,7 @@ mergeInto(LibraryManager.library, {
101
* @param {number} ptr
102
* @param {number=} maxBytesToRead - An optional length that specifies the
103
* maximum number of bytes to read. You can omit this parameter to scan the
104
- * string until the first \0 byte. If maxBytesToRead is passed, and the string
+ * string until the first 0 byte. If maxBytesToRead is passed, and the string
105
* at [ptr, ptr+maxBytesToReadr[ contains a null byte in the middle, then the
106
* string will cut short at that byte index (i.e. maxBytesToRead will not
107
* produce a string of exact length [ptr, ptr+maxBytesToRead[) N.B. mixing
0 commit comments