Repository

v-bufwriter

CI

Port of Go's bufio.Writer

import os
import takkyuuplayer.bufwriter

fn main() {
    mut output := os.stdout()
    mut buf := bufwriter.new(writer: output)
    buf.write('abc'.bytes()) ? // No Output
    buf.flush() ? // Output: abc
}

About

0
1485
1 year ago

Author

takkyuuplayer