WIP: Implement PodSerializer using C pod builder
This removed the custom "cookie-factory"-based pod serialization implementation by using the upstream spa_pod_builder
internally instead via its libspa::pod::builder::Builder
wrapper.
This results in a few breaking changes:
- Error type changed from
nom::IResult
tonix::errno::Errno
- Arrays no longer need their length specified when creating them, the internal builder determines it automatically when closing the array
- The
PodSerializer
no longer takes anyWrite + Seek
implementor, instead it takes a&mut Vec<u8>
as this is the only thing supported by the builder. This also means thePodSerializer::serialize
methods return type has changed slightly. - The definition of the
PodSerialize
trait has also changed slightly due to the changes to the serializer
Edited by Tom Wagner