Deserializes the type-information of container.
Clears states for next deserialization.
Scans an entire buffer and converts each objects.
Scans an entire buffer and converts each objects.
Deserializes T object and assigns to value.
Deserializes T object and assigns to array.
Deserializes T object and assigns to object.
Deserializes the container object and assigns to each argument.
// serializedData is [10, 0.1, false] auto unpacker = Unpacker(serializedData); uint n; double d; bool b; unpacker.unpackArray(n, d, b); // using Tuple Tuple!(uint, double, bool) record; unpacker.unpack(record); // record is [10, 0.1, false]
NOTE: Unpacker becomes template struct if Phobos supports truly IO module.
This Unpacker is a MessagePack direct-conversion deserializer
This implementation is suitable for fixed data.