Merge pull request #77247 from Piralein/nohashforyou
Fix C# code examples in `String` and `StringName`
This commit is contained in:
commit
809a982162
|
@ -333,7 +333,7 @@
|
|||
[/gdscript]
|
||||
[csharp]
|
||||
var text = "hello world";
|
||||
var encoded = text.ToUtf8Buffer().HexEncode(); # outputs "68656c6c6f20776f726c64"
|
||||
var encoded = text.ToUtf8Buffer().HexEncode(); // outputs "68656c6c6f20776f726c64"
|
||||
GD.Print(buf.HexDecode().GetStringFromUtf8());
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
|
|
@ -316,7 +316,7 @@
|
|||
[/gdscript]
|
||||
[csharp]
|
||||
var text = "hello world";
|
||||
var encoded = text.ToUtf8Buffer().HexEncode(); # outputs "68656c6c6f20776f726c64"
|
||||
var encoded = text.ToUtf8Buffer().HexEncode(); // outputs "68656c6c6f20776f726c64"
|
||||
GD.Print(buf.HexDecode().GetStringFromUtf8());
|
||||
[/csharp]
|
||||
[/codeblocks]
|
||||
|
|
Loading…
Reference in New Issue