Package org.graalvm.polyglot
Class Value.StringEncoding
java.lang.Object
org.graalvm.polyglot.Value.StringEncoding
- Enclosing class:
Value
Enum like class representing the supported string encodings. The encodings determine how byte
arrays or native strings are interpreted when creating or retrieving string values. This
class is not directly a enum to support compatible evolution.
- Since:
- 24.2
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Value.StringEncoding
The native UTF 16 encoding for the current platform.static final Value.StringEncoding
static final Value.StringEncoding
static final Value.StringEncoding
The native UTF 32 encoding for the current platform.static final Value.StringEncoding
static final Value.StringEncoding
static final Value.StringEncoding
-
Method Summary
-
Field Details
-
UTF_8
- Since:
- 24.2
-
UTF_16_LITTLE_ENDIAN
- Since:
- 24.2
-
UTF_16_BIG_ENDIAN
- Since:
- 24.2
-
UTF_32_LITTLE_ENDIAN
- Since:
- 24.2
-
UTF_32_BIG_ENDIAN
- Since:
- 24.2
-
UTF_16
The native UTF 16 encoding for the current platform.- Since:
- 24.2
- See Also:
-
UTF_32
The native UTF 32 encoding for the current platform.- Since:
- 24.2
- See Also:
-