Top Fields Constructors Methods
org.jruby.ext.ffi.jffi

public final Class StringParameterStrategy

extends PointerParameterStrategy
Class Inheritance
Imports
org.jruby.RubyString, org.jruby.ext.ffi.ArrayMemoryIO, .MemoryIO, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.ByteList, .StringSupport

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
StringParameterStrategy(boolean isDirect, boolean checkStringSafety)

Method Summary

Modifier and TypeMethod and Description
public long
public final MemoryIO
pack-priv static MemoryIO
getMemoryIO(RubyString s, boolean isDirect, boolean checkStringSafety)

public int
public Object
public int
Inherited from org.jruby.ext.ffi.jffi.PointerParameterStrategy:
isReferenceRequired

Field Detail

checkStringSafetyback to summary
private final boolean checkStringSafety

Constructor Detail

StringParameterStrategyback to summary
public StringParameterStrategy(boolean isDirect, boolean checkStringSafety)

Method Detail

addressback to summary
public long address(Object parameter)

Overrides org.jruby.ext.ffi.jffi.PointerParameterStrategy.address.

Annotations
@Override
getMemoryIOback to summary
public final MemoryIO getMemoryIO(Object parameter)

Implements abstract org.jruby.ext.ffi.jffi.PointerParameterStrategy.getMemoryIO.

getMemoryIOback to summary
pack-priv static MemoryIO getMemoryIO(RubyString s, boolean isDirect, boolean checkStringSafety)
lengthback to summary
public int length(Object parameter)

Overrides org.jruby.ext.ffi.jffi.PointerParameterStrategy.length.

Annotations
@Override
objectback to summary
public Object object(Object parameter)

Overrides org.jruby.ext.ffi.jffi.PointerParameterStrategy.object.

Annotations
@Override
offsetback to summary
public int offset(Object parameter)

Overrides org.jruby.ext.ffi.jffi.PointerParameterStrategy.offset.

Annotations
@Override