Repository

v-streader

CI

Port of Go's strings.Reader

import takkyuuplayer.streader
import os
import io

fn main() {
    mut reader := streader.new('hello world')
    mut out := os.stdout()
    io.cp(reader, mut out) ? // Output: hello world
}

About

0
1687
1 year ago

Author

takkyuuplayer