implement LimitedInputStream, LimitedReader; improve ByteStreamUtil, CharStreamUtil