Improve streams

It's the number of bytes we have written to the target array... doesn't matter.. I can rename it if you want.