当前位置:网站首页>为什么数据需要序列化
为什么数据需要序列化
2022-07-30 15:10:00 【TABE_】
为什么要序列化?
当两个进程在进行远程通信时,彼此可以发送各种类型的数据。无论是何种类型的数据,发送方需把这个对象转换为字节序列,才能在网络上传送;接收方则需把字节序列再恢复为对象。把对象转换为字节序列的过程称为对象的序列化。把字节序列恢复为对象的过程称为对象的反序列化。
因此,序列化的目的就是为了跨进程传递格式化数据。
边栏推荐
猜你喜欢
随机推荐
【喂到嘴边了的模块】准备徒手撸GUI?用Arm-2D三分钟就够了
Installing and Uninstalling MySQL on Mac
让人上瘾的新一代开发神器,彻底告别Controller、Service、Dao等方法
HTTP缓存小结
xxl-job源码解析(技术分享)
元宇宙的前景及四大赛道
The Prospects of the Metaverse and the Four Tracks
Back waves are coming!Ali produced the "second generation" container technical manual and brain map, which is too fragrant
GeoServer + openlayers
Sleuth+Zipkin (visualization) service link tracking
ISELED---氛围灯方案的新选择
websocket flv 客户端解封包
Fink异步IO的实战(关联维表)
Packages - Notes
MySql error: SqlError(Unable to execute query", "Can't create/write to file OS errno 2 - No such file...
481-82(105、24、82、34、153)
软件包 - 笔记
Redis cache penetration, breakdown, avalanche and consistency issues
Sparse-PointNet: See Further in Autonomous Vehicles 论文笔记
Flink实时仓库-DWS层(关键词搜索分析-自定义函数,窗口操作,FlinkSql设置水位线,保存数据到Clickhouse)模板代码