Constructor
JavaScriptCoreValuenew_string_from_bytes
Declaration [src]
JSCValue*
jsc_value_new_string_from_bytes (
JSCContext* context,
GBytes* bytes
)
Parameters
context-
Type:
JSCContextA
JSCContext.The data is owned by the caller of the function. bytes-
Type:
GBytesA
GBytes.The argument can be NULL.The data is owned by the caller of the function.
Return value
Type: JSCValue
A JSCValue.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |