[BACK]Return to CMO_DATUM.java CVS log [TXT][DIR] Up to [local] / OpenXM / src / OpenMath / ORG / openxm / tam

Diff for /OpenXM/src/OpenMath/ORG/openxm/tam/CMO_DATUM.java between version 1.1 and 1.2

version 1.1, 2000/09/12 07:05:05 version 1.2, 2000/09/13 06:32:42
Line 1 
Line 1 
 /**  /**
  * $OpenXM$   * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_DATUM.java,v 1.1 2000/09/12 07:05:05 tam Exp $
  */   */
 package ORG.openxm.tam;  package ORG.openxm.tam;
   
Line 22  public class CMO_DATUM extends CMO{
Line 22  public class CMO_DATUM extends CMO{
     return DATUM;      return DATUM;
   }    }
   
   public void sendByObject(OpenXMconnection os) throws IOException{    public void sendByObject(OpenXMstream os) throws IOException{
     os.writeInt(data.length);      os.writeInt(data.length);
     for(int i=0;i<data.length;i++){      for(int i=0;i<data.length;i++){
       os.writeByte(data[i]);        os.writeByte(data[i]);
     }      }
   }    }
   
   static protected CMO receive(OpenXMconnection is) throws IOException{    static protected CMO receive(OpenXMstream is) throws IOException{
     int len;      int len;
     byte[] data;      byte[] data;
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>