Click or drag to resize

Utf8HelperDecodeUtf8String Method

Decodes a UTF8 string.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public static string DecodeUtf8String(
	byte[] bytes,
	int index,
	int count,
	UTF8Encoding encoding
)

Parameters

bytes
Type: SystemByte
The bytes.
index
Type: SystemInt32
The index.
count
Type: SystemInt32
The count.
encoding
Type: System.TextUTF8Encoding
The encoding.

Return Value

Type: String
The decoded string.
See Also