Skip to main content

Module stream

Module stream 

Source
Expand description

CLAP I/O stream utilities.

Provides InputStream and OutputStream wrappers that implement std::io::Read and std::io::Write, making CLAP streams integrate cleanly with Rust’s I/O traits.

§Notes

Hosts may restrict how many bytes can be read or written at once. These wrappers handle that by looping until all data is transferred, so you don’t need to worry about partial reads or writes.

Structs§

InputStream
A CLAP data stream that can be read from.
OutputStream
A CLAP data stream that can be written to.
StreamError
An error code that can be raised by CLAP stream methods.