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-local+709673996c0cc3c0733358a87691d1009326afa7
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