com.irisel.util
Class Serialize

java.lang.Object
  extended by com.irisel.util.Serialize

public class Serialize
extends java.lang.Object


Constructor Summary
Serialize()
           
 
Method Summary
static java.lang.Object read(byte[] bytes)
           
static java.lang.Object readx(byte[] bytes)
           
static byte[] write(java.lang.Object ret)
           
static byte[] writex(java.lang.Object ret)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serialize

public Serialize()
Method Detail

readx

public static java.lang.Object readx(byte[] bytes)
                              throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

writex

public static byte[] writex(java.lang.Object ret)

read

public static java.lang.Object read(byte[] bytes)
                             throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

write

public static byte[] write(java.lang.Object ret)