Table of Contents

Method StrLenBytes

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

StrLenBytes(string)

Returns the number of UTF-8 encoded bytes in the specified string.

public static int StrLenBytes(this string s)

Parameters

s string

The string.

Returns

int

The number of UTF-8 bytes.