cn.dreampie.common.util.serialize
类 Serializer

java.lang.Object
  继承者 cn.dreampie.common.util.serialize.Serializer

public class Serializer
extends Object

Created by Dreampie on 15/4/24.


构造方法摘要
Serializer()
           
 
方法摘要
static byte[] serialize(Object object)
          序列化
static Object unserialize(byte[] bytes)
          反序列化
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Serializer

public Serializer()
方法详细信息

serialize

public static byte[] serialize(Object object)
序列化

参数:
object - 对象
返回:
byte[]

unserialize

public static Object unserialize(byte[] bytes)
反序列化

参数:
bytes - byte数据
返回:
Object


Copyright © 2015. All rights reserved.