Lines

works.iterative.claude.kyo.internal.cli.Lines
object Lines

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Lines.type

Members list

Value members

Concrete methods

def split(pending: Chunk[Byte], bytes: Chunk[Byte]): (Chunk[String], Chunk[Byte])

The complete lines in pending followed by bytes, and the bytes after the last newline, which wait for the next chunk.

The complete lines in pending followed by bytes, and the bytes after the last newline, which wait for the next chunk.

A newline byte never occurs inside a multi-byte UTF-8 character, so cutting at it never splits one.

Attributes

def utf8(using Frame): Pipe[Byte, String, Any]

The lines a stream of bytes holds, without their line terminators. A last line with no newline after it is still a line.

The lines a stream of bytes holds, without their line terminators. A last line with no newline after it is still a line.

Attributes