DEFLATE_STRING_BODY
if (length > *bytesLength) { for (i = 0; i < *bytesLength; i++) bytes[i] = (char) chars[i]; if (cx) JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_BUFFER_TOO_SMALL); return JS_FALSE; } else { for (i = 0; i < length; i++) bytes[i] = (char) chars[i]; *bytesLength = length; return JS_TRUE; }
js_DeflateStringToBuffer(char *bytes, const jschar *chars, size_t length){    size_t i;    DEFLATE_STRING_BODY}