Table of Contents

Method ReadBooleans

Namespace
AvroSharp.IO
Assembly
AvroSharp.dll

ReadBooleans(scoped Span<bool>)

Reads boolean array items into destination. Contiguous input is checked and copied as one span, since each item is one byte.

public void ReadBooleans(scoped Span<bool> destination)

Parameters

destination Span<bool>

Receives one value per element.

Exceptions

AvroDataException

An item is neither 0 nor 1, or the input ended.