Table of Contents

Method DecodeUtf8String

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

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.