private static cdrBufOutput createBuffer(InputStream input, int proposed_size)
private static BufferedCdrOutput createBuffer(InputStream input, int proposed_size)
  private static cdrBufOutput createBuffer(InputStream input, int proposed_size)  {    cdrBufOutput bout;    bout = new cdrBufOutput(2 * proposed_size + 256);    if (input instanceof cdrBufInput)              {        cdrBufInput in = (cdrBufInput) input;        bout.setBigEndian(in.isBigEndian());      }    if (input instanceof gnuValueStream)      bout.setRunTime(((gnuValueStream) input).getRunTime());    else      bout.setRunTime(new gnuRuntime(null, null));    return bout;  }