From 75793bd23d275d10d6a0bd8024a7e412b64557ce Mon Sep 17 00:00:00 2001 From: Daniel Weipert <git@mail.dweipert.de> Date: Sun, 15 Dec 2024 16:53:12 +0100 Subject: next commit --- byte_stream.gd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'byte_stream.gd') diff --git a/byte_stream.gd b/byte_stream.gd index e1946ee..2ef85d2 100644 --- a/byte_stream.gd +++ b/byte_stream.gd @@ -27,8 +27,8 @@ func advance(jumps: int) -> void: position += jumps -func available() -> bool: - return position < bytes.size() - 1 +func available() -> int: + return bytes.size() - position func get_buffer(length: int) -> ByteStream: -- cgit v1.2.3