ZBytes: tuple serialization\deserialization support
yellowhatter opened this issue · 3 comments
yellowhatter commented
Describe the feature
Need to add tuple support to align with Rust
DenisBiryukov91 commented
Should we implement it for tuple up to size 5 as in rust, or should it be a generic implementation for any-size tuple, equivalent to subsequent uses of ZBytesReader::read_bounded and ZBytesWriter::write_bounded ?
yellowhatter commented
Well, I think we need to utilise C++ capabilities and support recurring
over any std::tuple size, disregarding how it is made in other languages?
Or we are going to break interoperability then?
чт, 19 сент. 2024 г., 18:18 DenisBiryukov91 ***@***.***>:
… But there are no tuples in c, similar functionality can be achieved with
z_bytes_reader_read_bounded.
—
Reply to this email directly, view it on GitHub
<#226 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY72ERXWUN6NQV6HSNQZTSLZXLTODAVCNFSM6AAAAABOPSFGDGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRRGMZDAOJRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
DenisBiryukov91 commented
done by #238.