looks OK, what you're doing is basically the same implementation as 
<https://nim-lang.org/docs/streams.html#write%2CStream%2CT>.

Reply via email to