From 7b3f386449aeab124d84d2aff4c273e646e68763 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 22 Dec 2024 18:38:11 +0100 Subject: next commit --- byte_stream.gd | 3 +++ 1 file changed, 3 insertions(+) (limited to 'byte_stream.gd') diff --git a/byte_stream.gd b/byte_stream.gd index 2ef85d2..219e977 100644 --- a/byte_stream.gd +++ b/byte_stream.gd @@ -97,3 +97,6 @@ func decode_float() -> float: func get_string_from_utf8(length: int) -> String: return get_buffer(length).bytes.get_string_from_utf8() + +func get_string_from_ascii(length: int) -> String: + return get_buffer(length).bytes.get_string_from_ascii() -- cgit v1.2.3