Gets the content of a specific line.
Convenience method that delegates to file.buffer.get_line(). Requires file.buffer to be non-null. Ensure buffer is created before use.
Uses 0-based line numbers (internal format). For user-facing APIs, convert from 1-based to 0-based.
| line |
Line number (0-based) |
|
Line content, or empty string if not available |