零依赖的序列化框架 Airy

码农软件 · 软件分类 · 常用工具包 · 2019-08-13 23:28:32

软件介绍

Airy 是一个简单、快速、高效、零依赖的序列化框架。

安装

Airy 可从 releases page 获取。

Quickstart 快速上手

    Airy airy = new Airy();
    byte[] data = airy.serialize(someBean);
    SomeBean object = (SomeBean) airy.deserialize(data); // or airy.deserialize(data, SomeBean.class);

是不是很简单?接下来将详细介绍框架的一些细节和高级用法。

高级用法

    Airy airy = new Airy(new OrderSerializer()); // use OrderSerializer instead of HashSerializer
    airy.registerClass(SomeBean.class); // register class to reduce the size of the serialized data
    airy.appendHandler(someHander); // append your owner handler
    byte[] data = airy.serialize(someBean);
    SomeBean object = (SomeBean) airy.deserialize(data); // or airy.deserialize(data, SomeBean.class);

本文地址:https://codercto.com/soft/d/12314.html

Twenty Lectures on Algorithmic Game Theory

Twenty Lectures on Algorithmic Game Theory

Tim Roughgarden / Cambridge University Press / 2016-8-31 / USD 34.99

Computer science and economics have engaged in a lively interaction over the past fifteen years, resulting in the new field of algorithmic game theory. Many problems that are central to modern compute......一起来看看 《Twenty Lectures on Algorithmic Game Theory》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器