I see a writeBytes proc for File-s but need one for Stream-s
A workaround was:
But that seems kinda low level.
for elem in data:
strm.write(elem)
Java sure did make me into a Nervous Nellie
Yes, but the Java RTE always caught them, slapped my hand and said "don't eat that, we don't know where it has been"
I had thought that using addr(...) opened your code up to buffer overrun exploits if you were not really careful.
Or does the nim runtime check all pointer usage???