public final byte[] getZeroTerminatedByteArray(long offset) { return io.getZeroTerminatedByteArray(offset); }
public final byte[] getZeroTerminatedByteArray(long offset) { return io.getZeroTerminatedByteArray(offset); }
public final byte[] getZeroTerminatedByteArray(long offset) { return io.getZeroTerminatedByteArray(offset); }
public final byte[] getZeroTerminatedByteArray(long offset, int maxlen) { return io.getZeroTerminatedByteArray(offset, maxlen); }
public final byte[] getZeroTerminatedByteArray(long offset, int maxlen) { return io.getZeroTerminatedByteArray(offset, maxlen); }
public final byte[] getZeroTerminatedByteArray(long offset, int maxlen) { return io.getZeroTerminatedByteArray(offset, maxlen); }
public final byte[] getZeroTerminatedByteArray(long offset, int maxlen) { return io.getZeroTerminatedByteArray(offset, maxlen); }
public final byte[] getZeroTerminatedByteArray(long offset) { return io.getZeroTerminatedByteArray(offset); }
/** * Gets a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset)); }
/** * Gets a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset)); }
/** * Reads a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @param maxlen The maximum number of bytes to read * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset, length)); } }
/** * Gets a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset)); }
/** * Gets a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset)); }
/** * Reads a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @param maxlen The maximum number of bytes to read * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset, length)); } }
/** * Reads a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @param maxlen The maximum number of bytes to read * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset, length)); } }
/** * Reads a NUL terminated string from a memory object * * @param runtime The ruby runtime * @param io The memory object to read the string from * @param offset The offset within the memory object to start reading * @param maxlen The maximum number of bytes to read * @return A ruby string */ public static final IRubyObject getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) { return newTaintedString(runtime, io.getZeroTerminatedByteArray(offset, length)); } }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { MemoryIO io = ptr.getMemoryIO().getMemoryIO(m.getOffset(ptr)); if (io == null || io.isNull()) { return context.nil; } return RubyString.newStringNoCopy(context.runtime, io.getZeroTerminatedByteArray(0)); }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { MemoryIO io = ptr.getMemoryIO().getMemoryIO(m.getOffset(ptr)); if (io == null || io.isNull()) { return context.nil; } return RubyString.newStringNoCopy(context.runtime, io.getZeroTerminatedByteArray(0)); }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { MemoryIO io = ptr.getMemoryIO().getMemoryIO(m.getOffset(ptr)); if (io == null || io.isNull()) { return context.runtime.getNil(); } return RubyString.newStringNoCopy(context.runtime, io.getZeroTerminatedByteArray(0)); }
public IRubyObject get(ThreadContext context, StructLayout.Storage cache, Member m, AbstractMemory ptr) { MemoryIO io = ptr.getMemoryIO().getMemoryIO(m.getOffset(ptr)); if (io == null || io.isNull()) { return context.runtime.getNil(); } return RubyString.newStringNoCopy(context.runtime, io.getZeroTerminatedByteArray(0)); }