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

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

version 1.1, 2000/09/12 07:05:07 version 1.2, 2000/09/13 06:32:43
Line 1 
Line 1 
 /**  /**
  * $OpenXM$   * $OpenXM: OpenXM/src/OpenMath/ORG/openxm/tam/CMO_STRING.java,v 1.1 2000/09/12 07:05:07 tam Exp $
  */   */
 package ORG.openxm.tam;  package ORG.openxm.tam;
   
Line 36  final public class CMO_STRING extends CMO{
Line 36  final public class CMO_STRING extends CMO{
     return CMO.STRING;      return CMO.STRING;
   }    }
   
   protected void sendByObject(OpenXMconnection os) throws IOException{    protected void sendByObject(OpenXMstream os) throws IOException{
     byte[] buf = str.getBytes();      byte[] buf = str.getBytes();
   
     os.writeInt(buf.length);      os.writeInt(buf.length);
Line 45  final public class CMO_STRING extends CMO{
Line 45  final public class CMO_STRING extends CMO{
     }      }
   }    }
   
   static protected CMO receive(OpenXMconnection is) throws IOException{    static protected CMO receive(OpenXMstream is) throws IOException{
     int len;      int len;
     byte[] buf=null;      byte[] buf=null;
   

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

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