Table of Contents

Class Utf8Helper

Namespace
MongoDB.Bson.IO
Assembly
MongoDB.Bson.dll

Represents a class that has some helper methods for decoding UTF8 strings.

public static class Utf8Helper
Inheritance
Utf8Helper
Inherited Members

Methods

DecodeUtf8String(byte[], int, int, UTF8Encoding)

Decodes a UTF8 string.

public static string DecodeUtf8String(byte[] bytes, int index, int count, UTF8Encoding encoding)

Parameters

bytes byte[]

The bytes.

index int

The index.

count int

The count.

encoding UTF8Encoding

The encoding.

Returns

string

The decoded string.