PackedDataContainerRef
Obsolete nested-container view retaining its source resource.
Obsolete like PackedDataContainer. Created by native lookup of a nested Array/Dictionary rather than a public C# constructor. Size counts this nested container elements. Not a C# Array/Dictionary or an independently unpacked copy.
The view retains a PackedDataContainer plus an offset into its bytes. Repacking/changing source bytes can invalidate the old offset; finish using views first. Obtaining nested views, Size and native indexing through Expression were tested. Arbitrary corruption and source mutation while a view is active were not exercised.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Methods1
Sizeint
public int Size();Reads a nested element count through the retained source and offset. Neither a byte size nor an independent snapshot. The source must remain structurally compatible; do not use an old view after repacking it.
intElement count rather than bytes; 0 can be an empty container or a diagnosed-failure fallback.