/NippyWard.Text

A high-performance UTF-8 implementation for .NET

Primary LanguageC#MIT LicenseMIT

NippyWard.IRC.Parser

A high-performance UTF-8 implementation for .NET

Rationale

I needed an UTF-8 wrapper for different projects. This is a light-weight wrapper around ReadOnlySequence<byte>.

The UTF-8 code is based on:

Installation

Clone the repository.

Usage

Use Utf8String to wrap UTF-8 byte sequences.

Use LegacyUtf8Validator or VectorizedUtf8Validator to validate those sequences.

Use LegacyLineFeed or VectorLineFeed to check for line feeds in those sequence.

Benchmarks and tests are included if you need usage examples!