v-streader

July 23, 2021 ยท View on GitHub

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
}