Click or drag to resize

NativeUtilsGetByteCount Method

Gets the byte count of the specified input string based on the currently active encoding.

Namespace:  SampSharp.Core.Natives.NativeObjects.FastNatives
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public static int GetByteCount(
	string input
)

Parameters

input
Type: SystemString
The input string to get the byte count of.

Return Value

Type: Int32
The number of bytes of the input string including a nul terminator.
See Also