len, not bLen: the b can be larger
another streamInput fix/test: read too much from stream with limited
length