spring常用工具类,引入spring即可使用
全部方法就两个
byte[] serialize(@Nullable Object object) 序列化对象为byte数组
Object deserialize(@Nullable byte[] bytes) 反序列化byte数组为对象
spring常用工具类,引入spring即可使用
全部方法就两个
byte[] serialize(@Nullable Object object) 序列化对象为byte数组
Object deserialize(@Nullable byte[] bytes) 反序列化byte数组为对象
class XmlUtils { public static function xmlStr2Array($str) {