Support for std.PackedIntArray was added for both serialization and deserialization.
However, support for std.PackedIntSlice was only added to serialization. I don't think there's a way to make them directly. As an alternative, one can just deserialize into a std.PackedIntArray first and then slice into a std.PackedIntSlice.
Support for
std.PackedIntArray
was added for both serialization and deserialization.However, support for
std.PackedIntSlice
was only added to serialization. I don't think there's a way to make them directly. As an alternative, one can just deserialize into astd.PackedIntArray
first and then slice into astd.PackedIntSlice
.