hep.io.xdr
Interface XDRDataOutput

All Superinterfaces:
java.io.DataOutput
All Known Implementing Classes:
XDRRandomAccessFile, XDROutputStream

public interface XDRDataOutput
extends java.io.DataOutput

An interface implemented by output streams that support XDR.


Method Summary
 void pad()
           
 void writeDoubleArray(double[] array)
           
 void writeDoubleArray(double[] array, int start, int n)
           
 void writeFloatArray(float[] array)
           
 void writeFloatArray(float[] array, int start, int n)
           
 void writeIntArray(int[] array)
           
 void writeIntArray(int[] array, int start, int n)
           
 void writeString(java.lang.String string)
          Write a string preceeded by its (int) length
 void writeStringChars(java.lang.String string)
          Write a string (no length is written)
 
Methods inherited from interface java.io.DataOutput
write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 

Method Detail

writeString

public void writeString(java.lang.String string)
                 throws java.io.IOException
Write a string preceeded by its (int) length

writeStringChars

public void writeStringChars(java.lang.String string)
                      throws java.io.IOException
Write a string (no length is written)

writeIntArray

public void writeIntArray(int[] array)
                   throws java.io.IOException

writeDoubleArray

public void writeDoubleArray(double[] array)
                      throws java.io.IOException

writeFloatArray

public void writeFloatArray(float[] array)
                     throws java.io.IOException

writeIntArray

public void writeIntArray(int[] array,
                          int start,
                          int n)
                   throws java.io.IOException

writeDoubleArray

public void writeDoubleArray(double[] array,
                             int start,
                             int n)
                      throws java.io.IOException

writeFloatArray

public void writeFloatArray(float[] array,
                            int start,
                            int n)
                     throws java.io.IOException

pad

public void pad()
         throws java.io.IOException