Table of Contents

Method TryGetInt32Array

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

TryGetInt32Array(out ReadOnlyMemory<int>)

Gets the items of an array stored as int values, without a copy.

public bool TryGetInt32Array(out ReadOnlyMemory<int> items)

Parameters

items ReadOnlyMemory<int>

The items, when this method returns true.

Returns

bool

true for an array read from int items or made by FromInt32Array(ReadOnlyMemory<int>); false for any other value, including an array of int values held as a list.