UtilityGetUTF8Length Method |
Gets the number of bytes in a UTF-8 string.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public static int GetUTF8Length(
string str
)
Public Shared Function GetUTF8Length (
str As String
) As Integer
public:
static int GetUTF8Length(
String^ str
)
static member GetUTF8Length :
str : string -> int
Parameters
- str
- Type: SystemString
The input string.
Return Value
Type:
Int32
The length in bytes.
See Also