2 instantiations of ArrayInfo
System.Formats.Nrbf (2)
System\Formats\Nrbf\ArrayInfo.cs (1)
48
=>
new
(SerializationRecordId.Decode(reader), ParseValidArrayLength(reader));
System\Formats\Nrbf\NrbfDecoder.cs (1)
379
ArrayInfo arrayInfo =
new
(objectId, totalElementCount, arrayType, rank);
23 references to ArrayInfo
System.Formats.Nrbf (23)
System\Formats\Nrbf\ArrayInfo.cs (1)
47
internal static
ArrayInfo
Decode(BinaryReader reader)
System\Formats\Nrbf\ArrayRecord.cs (2)
21
private protected ArrayRecord(
ArrayInfo
arrayInfo)
50
internal
ArrayInfo
ArrayInfo { get; }
System\Formats\Nrbf\ArrayRectangularPrimitiveRecord.cs (1)
24
internal ArrayRectangularPrimitiveRecord(
ArrayInfo
arrayInfo, int[] lengths, IReadOnlyList<T> values) : base(arrayInfo)
System\Formats\Nrbf\ArraySingleObjectRecord.cs (2)
20
internal ArraySingleObjectRecord(
ArrayInfo
arrayInfo) : base(arrayInfo) => Records = [];
73
=> new ArraySingleObjectRecord(
ArrayInfo
.Decode(reader));
System\Formats\Nrbf\ArraySinglePrimitiveRecord.cs (1)
27
internal ArraySinglePrimitiveRecord(
ArrayInfo
arrayInfo, IReadOnlyList<T> values) : base(arrayInfo)
System\Formats\Nrbf\ArraySingleStringRecord.cs (2)
20
internal ArraySingleStringRecord(
ArrayInfo
arrayInfo) : base(arrayInfo) => Records = [];
30
=> new(
ArrayInfo
.Decode(reader));
System\Formats\Nrbf\JaggedArrayRecord.cs (1)
28
internal JaggedArrayRecord(
ArrayInfo
arrayInfo, MemberTypeInfo memberTypeInfo, int[] lengths)
System\Formats\Nrbf\MemberTypeInfo.cs (1)
111
internal TypeName GetArrayTypeName(
ArrayInfo
arrayInfo)
System\Formats\Nrbf\NrbfDecoder.cs (9)
275
ArrayInfo
info =
ArrayInfo
.Decode(reader);
281
private static ArrayRecord DecodeArraySinglePrimitiveRecord(BinaryReader reader,
ArrayInfo
info, PrimitiveType primitiveType)
303
static ArrayRecord Decode<T>(
ArrayInfo
info, BinaryReader reader) where T : unmanaged
307
private static ArrayRecord DecodeArrayRectangularPrimitiveRecord(PrimitiveType primitiveType,
ArrayInfo
info, int[] lengths, BinaryReader reader)
329
static ArrayRecord Decode<T>(
ArrayInfo
info, int[] lengths, BinaryReader reader) where T : unmanaged
361
lengths[i] =
ArrayInfo
.ParseValidArrayLength(reader);
369
if (totalElementCount >
ArrayInfo
.MaxArrayLength)
379
ArrayInfo
arrayInfo = new(objectId, totalElementCount, arrayType, rank);
System\Formats\Nrbf\RectangularArrayRecord.cs (1)
25
internal RectangularArrayRecord(Type elementType,
ArrayInfo
arrayInfo, MemberTypeInfo memberTypeInfo, int[] lengths) : base(arrayInfo)
System\Formats\Nrbf\SZArrayOfRecords.cs (1)
19
internal SZArrayOfRecords(
ArrayInfo
arrayInfo, MemberTypeInfo memberTypeInfo)
System\Formats\Nrbf\SZArrayRecord.cs (1)
16
private protected SZArrayRecord(
ArrayInfo
arrayInfo) : base(arrayInfo)