char[] pd = getPlaneData(from,from + min,plane); if(pd != null) { System.arraycopy(pd, 0, buffer, 0, min); return pd.length; }  return 0;
   public synchronized int GetScreen(char buffer[], int bufferLength, int from,                                    int length, int plane)                                    {//      if(buffer == null)//         throw new OhioException(sessionVT.getSessionConfiguration(),//                     OhioScreen.class.getName(), "osohio.screen.ohio00300", 1);      if(buffer == null)         return 0;      int min = Math.min(Math.min(buffer.length, bufferLength), screenSize);      if ((from + min) > screenSize) {         min = screenSize - from;      }      char[] pd = getPlaneData(from,from + min,plane);      if(pd != null) {         System.arraycopy(pd, 0, buffer, 0, min);         return pd.length;      }      return 0;   }