← All docs
stream_set_read_buffer() — internals
Compiler internals for stream_set_read_buffer(): lowering path, type checks, and runtime helpers.
stream_set_read_buffer() — internals
Where it lives
- Signature:
src/builtins/io/stream_set_read_buffer.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2252 (lower_stream_set_buffer) - Function symbol:
lower_stream_set_buffer()
Lowering notes
- Lowers stream read/write buffer setters as successful no-ops.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_set_read_buffer(resource $stream, int $size): int
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_set_read_buffer.rs(eval_builtin!) - Dispatch hooks:
direct,values