AgentOS Extensions API - v1.0.3
    Preparing search index...

    File read options

    interface FileReadOptions {
        encoding?: BufferEncoding;
        fromEnd?: boolean;
        lines?: number;
        maxBytes?: number;
        start?: number;
    }
    Index

    Properties

    encoding?: BufferEncoding

    Encoding (default: utf-8)

    fromEnd?: boolean

    Read from end of file

    lines?: number

    Number of lines to read (from start or end)

    maxBytes?: number

    Maximum bytes to read

    start?: number

    Start position