Skip to content

A high-performance UTF-8 implementation for .NET

License

Notifications You must be signed in to change notification settings

sebaFlame/NippyWard.Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!