v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 842 | skipping to change at line 842 | |||
* buffer. | * buffer. | |||
* | * | |||
* Copies up to length characters into the output buffer. | * Copies up to length characters into the output buffer. | |||
* Only null-terminates if there is enough space in the buffer. | * Only null-terminates if there is enough space in the buffer. | |||
* | * | |||
* \param buffer The buffer into which the string will be copied. | * \param buffer The buffer into which the string will be copied. | |||
* \param start The starting position within the string at which | * \param start The starting position within the string at which | |||
* copying begins. | * copying begins. | |||
* \param length The number of bytes to copy from the string. | * \param length The number of bytes to copy from the string. | |||
* \param nchars_ref The number of characters written, can be NULL. | * \param nchars_ref The number of characters written, can be NULL. | |||
* \param hints Various hints that might affect performance of this or | ||||
* subsequent operations. | ||||
* \return The number of bytes copied to the buffer | * \return The number of bytes copied to the buffer | |||
* excluding the NULL terminator. | * excluding the NULL terminator. | |||
*/ | */ | |||
enum WriteHints { | enum WriteHints { | |||
NO_HINTS = 0, | NO_HINTS = 0, | |||
HINT_MANY_WRITES_EXPECTED = 1 | HINT_MANY_WRITES_EXPECTED = 1 | |||
}; | }; | |||
int Write(uint16_t* buffer, | int Write(uint16_t* buffer, | |||
int start = 0, | int start = 0, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||