diff options
Diffstat (limited to 'byte_stream.gd')
-rw-r--r-- | byte_stream.gd | 3 |
1 files changed, 3 insertions, 0 deletions
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() |