• Parameters

    • rs: Readable
    • encoding: BufferEncoding = 'utf-8'

    Returns Promise<string>