v8.h   v8.h 
skipping to change at line 1602 skipping to change at line 1602
* \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 PRESERVE_ASCII_NULL = 4,
// Used by WriteUtf8 to replace orphan surrogate code units with the
// unicode replacement character. Needs to be set to guarantee valid UT
F-8
// output.
REPLACE_INVALID_UTF8 = 8
}; };
// 16-bit character codes. // 16-bit character codes.
int Write(uint16_t* buffer, 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;
// One byte characters. // One byte characters.
int WriteOneByte(uint8_t* buffer, int WriteOneByte(uint8_t* buffer,
int start = 0, int start = 0,
 End of changes. 1 change blocks. 
1 lines changed or deleted 6 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/