← 返回卡片

原书出处

消息队列高手课

12 12-序列化与反序列化:如何通过网络传输结构化的数据? · 你该选择哪种序列化实现?

核验版本的摘录快照 · 导入于 2026-10-24T11:24:24.339Z

们用Kryo来序列化User对象,它的代码如下: kryo.register(User.class); Output output = new Output(new FileOutputStream("file.bin")); kryo.writ

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/消息队列高手课/_epub-src/text/part0015_split_001.html

EPUB SHA-256:db85f464ac541092a2b63733772274ad34754d29b9f116bd0f0697cdea74fa38