swimos / swim

Full stack application platform for building stateful microservices, streaming APIs, and real-time UIs
https://www.swimos.org
Apache License 2.0
488 stars 41 forks source link

Add encoding logic to swim.avro #151

Open brohitbrose opened 12 months ago

brohitbrose commented 12 months ago

swim.avro is able to construct a swim.structure.Value given a swim.avro.AvroType<? extends Value> and a binary serialization.

We need to also be able to go the other direction; given a Value whose structure conforms to a provided AvroType<? extends Value>, output its (binary) Avro serialization.