BufferedReaderMemoryExtensions Class

Definition

Provides extensions to BufferedReader

public static class BufferedReaderMemoryExtensions
Inheritance
BufferedReaderMemoryExtensions

Methods

ReadBytesSpanCopy(BufferedReader, Int32)

Reads from BufferedReader and returns a Span<T> copy of it

This method does allocate

ReadBytesSpanSlice(BufferedReader, Int32)

Reads from BufferedReader and returns a Span<T> slice of the buffer

ReadStringSpan(BufferedReader)

Reads a String, but is using ReadBytesSpanSlice(BufferedReader, Int32) instead

Applies to