MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / BufReader

Class BufReader

0d_files/rust/bufread_iterator.rs:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 };
17
18 pub struct BufReader {
19 reader: io::BufReader<File>,
20 buf: Rc<String>,
21 }
22
23 fn new_buf() -> Rc<String> {
24 Rc::new(String::with_capacity(1024)) // Tweakable capacity

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected