public readPrefix(maxBytes as Int) as String:
Reads at most the first maxBytes bytes from this file.
maxBytes
This is useful for tools that need a bounded preview of large text files.
Prefix text, trimmed to a valid UTF-8 boundary when possible.