Table of Contents

Method TryGetBooleanArray

Namespace
AvroSharp.Generic
Assembly
AvroSharp.dll

TryGetBooleanArray(out ReadOnlyMemory<bool>)

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

public bool TryGetBooleanArray(out ReadOnlyMemory<bool> items)

Parameters

items ReadOnlyMemory<bool>

The items, when this method returns true.

Returns

bool

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