Table of Contents

Method TryGetDoubleArray

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

TryGetDoubleArray(out ReadOnlyMemory<double>)

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

public bool TryGetDoubleArray(out ReadOnlyMemory<double> items)

Parameters

items ReadOnlyMemory<double>

The items, when this method returns true.

Returns

bool

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