Utf8HelperDecodeUtf8String Method |
Decodes a UTF8 string.
Namespace:
MongoDB.Bson.IO
Assembly:
MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static string DecodeUtf8String(
byte[] bytes,
int index,
int count,
UTF8Encoding encoding
)
Public Shared Function DecodeUtf8String (
bytes As Byte(),
index As Integer,
count As Integer,
encoding As UTF8Encoding
) As String
static member DecodeUtf8String :
bytes : byte[] *
index : int *
count : int *
encoding : UTF8Encoding -> string
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:
StringThe decoded string.
See Also