<PackageReference Include="System.Drawing.Common" Version="10.0.0-preview.6.25358.103" />

ArrayInfo

Array information structure.
using System.IO; using System.Runtime.CompilerServices; namespace System.Private.Windows.BinaryFormat.Serializer { internal readonly struct ArrayInfo : IBinaryWriteable { public Id ObjectId { get; } public Count Length { get; } public ArrayInfo(Id objectId, Count length) { Length = length; ObjectId = objectId; } [NullableContext(1)] public void Write(BinaryWriter writer) { writer.Write(ObjectId); writer.Write(Length); } } }