sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 7022 - svn://svn.freehep.org/svn / freehep / cvs / xdr / trunk / XDRDataOutput.java
Unified Diff View - XDRDataOutput.java
Search for Help
/freehep/cvs/xdr/trunk/XDRDataOutput.java @ revision 7021
/freehep/cvs/xdr/trunk/XDRDataOutput.java @ revision 7022
@@ -1,25 +1,36 @@ package hep.io.xdr; + import java.io.*; + + /**  * An interface implemented by output streams that support XDR.  * @author Tony Johnson (tonyj@slac.stanford.edu) - * @version $Id: XDRDataOutput.java 6986 2000-10-25 19:55:49Z tonyj $ + * @version $Id: XDRDataOutput.java 7022 2003-09-16 23:11:55Z tonyj $  */ public interface XDRDataOutput extends DataOutput { - /** -  * Write a string preceeded by its (int) length -  */ - void writeString(String string) throws IOException; - /** -  * Write a string (no length is written) -  */ - void writeStringChars(String string) throws IOException; - void writeIntArray(int[] array) throws IOException; - void writeDoubleArray(double[] array) throws IOException; - void writeFloatArray(float[] array) throws IOException; - void writeIntArray(int[] array, int start, int n) throws IOException; - void writeDoubleArray(double[] array, int start, int n) throws IOException; - void writeFloatArray(float[] array, int start, int n) throws IOException; - void pad() throws IOException; +   void pad() throws IOException; + +   void writeDoubleArray(double[] array) throws IOException; + +   void writeDoubleArray(double[] array, int start, int n) throws IOException; + +   void writeFloatArray(float[] array) throws IOException; + +   void writeFloatArray(float[] array, int start, int n) throws IOException; + +   void writeIntArray(int[] array) throws IOException; + +   void writeIntArray(int[] array, int start, int n) throws IOException; + +   /** +    * Write a string preceeded by its (int) length +    */ +   void writeString(String string) throws IOException; + +   /** +    * Write a string (no length is written) +    */ +   void writeStringChars(String string) throws IOException; }


feed icon

sventon 2.5.1