v8.h   v8.h 
skipping to change at line 845 skipping to change at line 845
* 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.
* \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.
*/ */
int Write(uint16_t* buffer, int start = 0, int length = -1) const; // UT enum WriteHints {
F-16 NO_HINTS = 0,
int WriteAscii(char* buffer, int start = 0, int length = -1) const; // A HINT_MANY_WRITES_EXPECTED = 1
SCII };
int Write(uint16_t* buffer,
int start = 0,
int length = -1,
WriteHints hints = NO_HINTS) const; // UTF-16
int WriteAscii(char* buffer,
int start = 0,
int length = -1,
WriteHints hints = NO_HINTS) const; // ASCII
int WriteUtf8(char* buffer, int WriteUtf8(char* buffer,
int length = -1, int length = -1,
int* nchars_ref = NULL) const; // UTF-8 int* nchars_ref = NULL,
WriteHints hints = NO_HINTS) const; // UTF-8
/**
* Flatten internal memory. Operations on the string tend to run faster
* after flattening especially if the string is a concatenation of many
* others.
*/
void Flatten();
/** /**
* A zero length string. * A zero length string.
*/ */
static v8::Local<v8::String> Empty(); static v8::Local<v8::String> Empty();
/** /**
* Returns true if the string is external * Returns true if the string is external
*/ */
bool IsExternal() const; bool IsExternal() const;
 End of changes. 2 change blocks. 
12 lines changed or deleted 15 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/