v8.h   v8.h 
skipping to change at line 1048 skipping to change at line 1048
* \param nchars_ref The number of characters written, can be NULL. * \param nchars_ref The number of characters written, can be NULL.
* \param options Various options that might affect performance of this o r * \param options Various options that might affect performance of this o r
* subsequent operations. * subsequent operations.
* \return The number of characters copied to the buffer excluding the nu ll * \return The number of characters copied to the buffer excluding the nu ll
* terminator. For WriteUtf8: The number of bytes copied to the buffe r * terminator. For WriteUtf8: The number of bytes copied to the buffe r
* including the null terminator (if written). * including the null terminator (if written).
*/ */
enum WriteOptions { enum WriteOptions {
NO_OPTIONS = 0, NO_OPTIONS = 0,
HINT_MANY_WRITES_EXPECTED = 1, HINT_MANY_WRITES_EXPECTED = 1,
NO_NULL_TERMINATION = 2 NO_NULL_TERMINATION = 2,
PRESERVE_ASCII_NULL = 4
}; };
// 16-bit character codes. // 16-bit character codes.
V8EXPORT int Write(uint16_t* buffer, V8EXPORT int Write(uint16_t* buffer,
int start = 0, int start = 0,
int length = -1, int length = -1,
int options = NO_OPTIONS) const; int options = NO_OPTIONS) const;
// ASCII characters. // ASCII characters.
V8EXPORT int WriteAscii(char* buffer, V8EXPORT int WriteAscii(char* buffer,
int start = 0, int start = 0,
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/