v-streader
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
}
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
}