Function rustc_demangle::demangle_stream
source · pub fn demangle_stream<R: BufRead, W: Write>(
input: &mut R,
output: &mut W,
include_hash: bool
) -> Result<()>
Available on crate feature
std
only.Expand description
Process a stream of data from input
into the provided output
, demangling any symbols found
within.
This currently is implemented by buffering each line of input in memory, but that may be changed in the future. Symbols never cross line boundaries so this is just an implementation detail.