LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    ⌘I

    LangChain Assistant

    Ask a question to get started

    Enter to send•Shift+Enter new line

    Menu

    LangGraph Checkpoint
    Checkpoint Postgres
    Store Postgres
    Checkpoint SQLite
    LangGraph Prebuilt
    LangGraph CLI
    LangGraph SDK
    LangGraph Supervisor
    LangGraph Swarm
    Language
    Theme
    Pythonlanggraph-sdksseBytesLineDecoder
    Class●Since v0.1

    BytesLineDecoder

    Copy
    BytesLineDecoder(
        self,
    )

    Constructors

    Attributes

    Methods

    View source on GitHub
    constructor
    __init__
    attribute
    buffer
    attribute
    trailing_cr: bool
    method
    decode
    method
    flush

    Handles incrementally reading lines from text.

    Has the same behaviour as the stdllib bytes splitlines, but handling the input iteratively.