public uint[] ReadOutputChars(int y, int x, int n) { uint[] buf = new uint[n + 1]; int nOut = CursesMethods.mvwinchnstr(this.winptr, y, x, buf, n); uint[] ret = new uint[nOut]; Array.Copy(buf, ret, nOut); return(ret); }