public abstract static class TruffleString.GetInternalByteArrayNode extends Node
TruffleString.GetInternalByteArrayNode.execute(AbstractTruffleString, TruffleString.Encoding)
for details.Node.Child, Node.Children
Modifier and Type | Method and Description |
---|---|
static TruffleString.GetInternalByteArrayNode |
create()
Create a new
TruffleString.GetInternalByteArrayNode . |
abstract InternalByteArray |
execute(AbstractTruffleString a,
TruffleString.Encoding expectedEncoding)
Get the given string's internal byte array.
|
static TruffleString.GetInternalByteArrayNode |
getUncached()
Get the uncached version of
TruffleString.GetInternalByteArrayNode . |
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, toString
public abstract InternalByteArray execute(AbstractTruffleString a, TruffleString.Encoding expectedEncoding)
TruffleString.ReadByteNode
,
TruffleString.ReadCharUTF16Node
, TruffleString.CodePointAtIndexNode
, TruffleString.CodePointAtByteIndexNode
etc., if at all possible. If mutability is required, use MutableTruffleString
instead.public static TruffleString.GetInternalByteArrayNode create()
TruffleString.GetInternalByteArrayNode
.public static TruffleString.GetInternalByteArrayNode getUncached()
TruffleString.GetInternalByteArrayNode
.