fix: missing Bytearray option in file.read_bytes

This commit is contained in:
MihailRis
2025-04-06 14:39:21 +03:00
parent c8c8b2a023
commit d9d4d2b305
3 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -20,10 +20,10 @@ file.read(path: str) -> str
Read whole text file.
```python
file.read_bytes(path: str) -> array of integers
file.read_bytes(path: str, [optional] usetable) -> array of integers
```
Read file into bytes array.
Read file into bytes array. If usetable = false , returns Bytearray instead of table.
```lua
file.is_writeable(path: str) -> bool