public override long NewClient(string pdAddrs) { using var _pdAddrs = new GoString(pdAddrs); using var error = new GoSlice(1024); long rc = NewClient(_pdAddrs, error); if (rc < 0) { throw new Exception(GetErrorString(rc, error)); } return(rc); }
private static extern long NewClient(GoString pdAddrs, GoSlice outerr);