- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
JsCreateString
        Xiaoyin Liu edited this page Aug 22, 2017 
        ·
        5 revisions
      
    Create JavascriptString variable from ASCII or Utf8 string
CHAKRA_API
    JsCreateString(
        _In_ const char *content,
        _In_ size_t length,
        _Out_ JsValueRef *value);
- content: Pointer to string memory.
- length: Number of bytes within the string
- value: JsValueRef representing the JavascriptString
The code JsNoError if the operation succeeded, a failure code otherwise.
This API is experimental and may have breaking change later.
Requires an active script context.
Input string can be either ASCII or Utf8.
- Architecture Overview
- Building ChakraCore
- ChakraCore Code Structure
- Contributor Guidance
- Engineering Notes
- Embedding ChakraCore
- Testing ChakraCore
- Getting ChakraCore binaries
- Label Glossary
- Resources
- Roadmap / Release Notes
Want to contribute to this Wiki? Fork it and send a pull request!