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
Syntaxpublic static int GetByteCount(
string input
)
Parameters
- input
- Type: SystemString
The input string to get the byte count of.
Return Value
Type:
Int32The number of bytes of the input string including a nul terminator.
See Also