Click or drag to resize

Utf8HelperDecodeUtf8String Method

Decodes a UTF8 string.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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