public override long Seek(long offset, System.IO.SeekOrigin origin) { if (origin.Equals(System.IO.SeekOrigin.Current)) { return(this.input.skip(offset)); } else { throw new java.lang.IllegalArgumentException(new java.lang.UnsupportedOperationException("Only seek from current position yet implemented")); } }
public override long Seek(long offset, System.IO.SeekOrigin origin) { if (origin.Equals(SeekOrigin.End)) { Position = _length; } else { Position = offset; } return(Position); }