(str, outPtr, maxBytesToWrite)
| 816 | // Returns the number of bytes written, EXCLUDING the null terminator. |
| 817 | |
| 818 | function stringToUTF8(str, outPtr, maxBytesToWrite) { |
| 819 | return stringToUTF8Array(str, HEAPU8,outPtr, maxBytesToWrite); |
| 820 | } |
| 821 | Module["stringToUTF8"] = stringToUTF8; |
| 822 | |
| 823 | // Returns the number of bytes the given Javascript string takes if encoded as a UTF8 byte array, EXCLUDING the null terminator byte. |
nothing calls this directly
no test coverage detected