13 references to BinaryArrayType
System.Formats.Nrbf (13)
System\Formats\Nrbf\ArrayInfo.cs (3)
25
internal ArrayInfo(SerializationRecordId id, long totalElementsCount,
BinaryArrayType
arrayType =
BinaryArrayType
.Single, int rank = 1)
37
internal
BinaryArrayType
ArrayType { get; }
System\Formats\Nrbf\ArrayRecord.cs (2)
43
internal
BinaryArrayType
ArrayType => ArrayInfo.ArrayType;
53
=> ArrayInfo.ArrayType ==
BinaryArrayType
.Jagged
System\Formats\Nrbf\NrbfDecoder.cs (5)
341
BinaryArrayType
arrayType = reader.ReadArrayType();
344
bool isRectangular = arrayType is
BinaryArrayType
.Rectangular;
382
if (arrayType ==
BinaryArrayType
.Rectangular)
410
else if (arrayType ==
BinaryArrayType
.Single)
441
else if (arrayType ==
BinaryArrayType
.Jagged)
System\Formats\Nrbf\Utils\BinaryReaderExtensions.cs (3)
32
internal static
BinaryArrayType
ReadArrayType(this BinaryReader reader)
41
if (arrayType > (byte)
BinaryArrayType
.Rectangular)
52
return (
BinaryArrayType
)arrayType;