NativeUtilsGetString Method |
Gets the string from the specified bytes 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 public static string GetString(
Span<byte> bytes
)
Parameters
- bytes
- Type: SystemSpanByte
The bytes to get the string from.
Return Value
Type:
StringThe converted string excluding nul terminators.
See Also