Table of Contents

Method ToCharSpan

Namespace
MongoDB.Bson
Assembly
MongoDB.Bson.dll

ToCharSpan(Span<char>)

Fills a character span with the characters corresponding to the string representation of the value.

public void ToCharSpan(Span<char> destination)

Parameters

destination Span<char>

The span to fill the characters in.

Exceptions

ArgumentException

Not enough room in destination span.