mcpwn API
    Preparing search index...

    Class LineFramer

    A streaming newline framer. stdio reads arrive in arbitrary chunks; this buffers partial lines and emits one complete line at a time (NFR-3).

    Index
    • Any buffered, unterminated remainder (flushed on stream end).

      Returns string | null

    • Feed a chunk; returns any complete lines (without trailing newline).

      Parameters

      • chunk: string | Buffer<ArrayBufferLike>

      Returns string[]