public LimitedInputStream(Stream source, int readlimit) { this.source = source; this.Remaining = readlimit; }