baml.sys.ReadPipe

A system pipe for reading data, typically from another process.

Reference version

Signature

class baml.sys.ReadPipe

A system pipe for reading data, typically from another process.

Source:<builtin>/baml/ns_sys/sys.bamlbytes 49435452

Fields

_pipe

$rust_type

Instance methods

function

close

(self) -> void throws baml.errors.Io

Close the read pipe, releasing any resources.

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 747779

baml.io.Read for baml.sys.ReadPipe

Instance methods

function

bytes

(self) -> uint8array throws baml.errors.Io

Consume all remaining bytes through EOF.

function

read

(self, limit: int) -> uint8array | null throws baml.errors.Io

Source:<builtin>/baml/ns_sys/sys.bamlbytes 53005450