code: public static int splice(int fd, long offIn, int fdOut, long offOut, long len) throws IOException {
          int res = splice0(fd, offIn, fdOut, offOut, len);
          if (res >= 0) {
              return res;
          }
          return ioResult("splice", res, SPLICE_CONNECTION_RESET_EXCEPTION, SPLICE_CLOSED_CHANNEL_EXCEPTION);
      }
docs: File-descriptor operations