readArray and writeArray are not symmetrical in their treatment of usedOutBufLen

updated comment to show that.