public abstract static class TruffleString.CopyToNativeMemoryNode extends Node
TruffleString.CopyToNativeMemoryNode.execute(AbstractTruffleString, int, Object, int, int, TruffleString.Encoding) for
details.Node.Child, Node.Children| Modifier and Type | Method and Description |
|---|---|
static TruffleString.CopyToNativeMemoryNode |
create()
Create a new
TruffleString.CopyToNativeMemoryNode. |
abstract void |
execute(AbstractTruffleString a,
int byteFromIndexA,
Object pointerObject,
int byteFromIndexDst,
int byteLength,
TruffleString.Encoding expectedEncoding)
Copy a region of the given
TruffleString a, bounded by
byteFromIndexA and byteLength into the given interop object representing
a native pointer (isPointer(pointerObject) must return true), starting at
byteFromIndexDst. |
static TruffleString.CopyToNativeMemoryNode |
getUncached()
Get the uncached version of
TruffleString.CopyToNativeMemoryNode. |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract void execute(AbstractTruffleString a, int byteFromIndexA, Object pointerObject, int byteFromIndexDst, int byteLength, TruffleString.Encoding expectedEncoding)
TruffleString a, bounded by
byteFromIndexA and byteLength into the given interop object representing
a native pointer (isPointer(pointerObject) must return true), starting at
byteFromIndexDst.
This operation requires native access permissions
(TruffleLanguage.Env#isNativeAccessAllowed()).
public static TruffleString.CopyToNativeMemoryNode create()
TruffleString.CopyToNativeMemoryNode.public static TruffleString.CopyToNativeMemoryNode getUncached()
TruffleString.CopyToNativeMemoryNode.