ip-v8 / rust-ipv8

Rust implementation of the IPv8 application.
https://ip-v8.github.io/rust-ipv8/ipv8
GNU Lesser General Public License v3.0
13 stars 2 forks source link

Varlens! #19

Closed jdonszelmann closed 5 years ago

jdonszelmann commented 5 years ago

Added Varlen16 and Varlen32 (and Varlen64 which is trivial) support to the serialization process

ichorid commented 5 years ago

I wonder if you really have to implement each serialization element... Maybe, to simplify development, you can add them in a 'lazy' way, i.e. only do it as soon as it is needed to implement some community?

jdonszelmann commented 5 years ago

we're not implementing every one of them. we just needed varlens

jdonszelmann commented 5 years ago

and implementing both varlen32 and varlen16 is easy. the problem was implementing any of the two at all

ichorid commented 5 years ago

Good!