Merge pull request #77247 from Piralein/nohashforyou
Fix C# code examples in `String` and `StringName`
This commit is contained in:
commit
809a982162
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue