org.jruby.util
Class Pack.Converter

java.lang.Object
  extended by org.jruby.util.Pack.Converter
Enclosing class:
Pack

public abstract static class Pack.Converter
extends java.lang.Object


Field Summary
 int size
           
 java.lang.String type
           
 
Constructor Summary
Pack.Converter(int size)
           
Pack.Converter(int size, java.lang.String type)
           
 
Method Summary
abstract  IRubyObject decode(Ruby runtime, java.nio.ByteBuffer format)
           
 IRubyObject decode19(Ruby runtime, java.nio.ByteBuffer format)
           
abstract  void encode(Ruby runtime, IRubyObject from, org.jruby.util.ByteList result)
           
 void encode19(Ruby runtime, IRubyObject from, org.jruby.util.ByteList result)
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public int size

type

public java.lang.String type
Constructor Detail

Pack.Converter

public Pack.Converter(int size)

Pack.Converter

public Pack.Converter(int size,
                      java.lang.String type)
Method Detail

getType

public java.lang.String getType()

decode

public abstract IRubyObject decode(Ruby runtime,
                                   java.nio.ByteBuffer format)

encode

public abstract void encode(Ruby runtime,
                            IRubyObject from,
                            org.jruby.util.ByteList result)

decode19

public IRubyObject decode19(Ruby runtime,
                            java.nio.ByteBuffer format)

encode19

public void encode19(Ruby runtime,
                     IRubyObject from,
                     org.jruby.util.ByteList result)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.