MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / read_command_stream

Function read_command_stream

packages/server/src/android.rs:1696–1700  ·  view source on GitHub ↗
(mut stream: impl Read)

Source from the content-addressed store, hash-verified

1694}
1695
1696fn read_command_stream(mut stream: impl Read) -> std::io::Result<Vec<u8>> {
1697 let mut buffer = Vec::new();
1698 stream.read_to_end(&mut buffer)?;
1699 Ok(buffer)
1700}
1701
1702fn join_command_reader(
1703 reader: thread::JoinHandle<std::io::Result<Vec<u8>>>,

Callers 1

run_command_with_stdinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected