public class StringToBytesSnippets extends Object implements Snippets
StringToBytesSnippets contains a snippet for lowering StringToBytesNode.| Modifier and Type | Class and Description |
|---|---|
static class |
StringToBytesSnippets.Templates |
| Modifier and Type | Field and Description |
|---|---|
static org.graalvm.word.LocationIdentity |
CSTRING_LOCATION |
| Constructor and Description |
|---|
StringToBytesSnippets() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
transform(Word cArray,
int length,
org.graalvm.word.LocationIdentity locationIdentity) |
public static final org.graalvm.word.LocationIdentity CSTRING_LOCATION
public static byte[] transform(Word cArray, int length, org.graalvm.word.LocationIdentity locationIdentity)