Class TruffleString.FromZeroTerminatedNativePointerNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.strings.TruffleString.FromZeroTerminatedNativePointerNode
All Implemented Interfaces:
NodeInterface, Cloneable
Enclosing class:
TruffleString

public abstract static class TruffleString.FromZeroTerminatedNativePointerNode extends Node
Equivalent to TruffleString.FromNativePointerNode for zero-terminated buffers, i.e. the string's length is determined by the position of the first zero-value found.

This operation requires native access permissions (TruffleLanguage.Env#isNativeAccessAllowed()).

Since:
25.1
See Also: