Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize and DeSerialize #472

Open
Sup3r-e opened this issue Feb 20, 2025 · 1 comment
Open

Serialize and DeSerialize #472

Sup3r-e opened this issue Feb 20, 2025 · 1 comment

Comments

@Sup3r-e
Copy link

Sup3r-e commented Feb 20, 2025

你好,我想请问一下yacl库中的序列化和反序列化函数是否可以支持参与方之间复合数据类型,比如结构体(map类型)的数据传输,还是需要自定义新的序列化与反序列化函数呢,谢谢!

@usafchn
Copy link
Member

usafchn commented Feb 20, 2025

如果是标准的 STL 容器,都是支持的,不需要额外写 adapter。
关于函数的用法,可以查阅注释

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants