public final void marshal( ThreadContext context, InvocationBuffer buffer, IRubyObject parameter) { buffer.putShort(Util.uint16Value(parameter)); }
public final void marshal( Invocation invocation, InvocationBuffer buffer, IRubyObject parameter) { buffer.putShort(Util.uint16Value(parameter)); }
public final int intValue(ThreadContext context, IRubyObject obj) { return Util.uint16Value(obj); }