From d72b5632505a308e7f7a8a534d308884e80936db Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 13 Feb 2023 16:18:12 +0200 Subject: Add GDScript `to_wchar_buffer` and `get_string_from_wchar` functions. --- doc/classes/PackedByteArray.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/classes/PackedByteArray.xml') diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index 081215f6b7..a3f23fa7ae 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -328,6 +328,12 @@ Converts UTF-8 encoded array to [String]. Slower than [method get_string_from_ascii] but supports UTF-8 encoded data. Use this function if you are unsure about the source of the data. For user input this function should always be preferred. Returns empty string if source array is not valid UTF-8 string. + + + + Converts wide character ([code]wchar_t[/code], UTF-16 on Windows, UTF-32 on other platforms) encoded array to [String]. Returns empty string if source array is not valid wide string. + + -- cgit v1.2.3