v8.h   v8.h 
skipping to change at line 1005 skipping to change at line 1005
*/ */
V8EXPORT int Length() const; V8EXPORT int Length() const;
/** /**
* Returns the number of bytes in the UTF-8 encoded * Returns the number of bytes in the UTF-8 encoded
* representation of this string. * representation of this string.
*/ */
V8EXPORT int Utf8Length() const; V8EXPORT int Utf8Length() const;
/** /**
* A fast conservative check for non-ASCII characters. May
* return true even for ASCII strings, but if it returns
* false you can be sure that all characters are in the range
* 0-127.
*/
V8EXPORT bool MayContainNonAscii() const;
/**
* Write the contents of the string to an external buffer. * Write the contents of the string to an external buffer.
* If no arguments are given, expects the buffer to be large * If no arguments are given, expects the buffer to be large
* enough to hold the entire string and NULL terminator. Copies * enough to hold the entire string and NULL terminator. Copies
* the contents of the string and the NULL terminator into the * the contents of the string and the NULL terminator into the
* buffer. * buffer.
* *
* WriteUtf8 will not write partial UTF-8 sequences, preferring to stop * WriteUtf8 will not write partial UTF-8 sequences, preferring to stop
* before the end of the buffer. * before the end of the buffer.
* *
* Copies up to length characters into the output buffer. * Copies up to length characters into the output buffer.
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 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/