FreeHEP API
Version v1.1

hep.io.xdr
Interface XDRDataOutput

All Superinterfaces:
DataOutput
All Known Implementing Classes:
XDROutputStream, XDRRandomAccessFile

public interface XDRDataOutput
extends DataOutput

An interface implemented by output streams that support XDR.

Version:
$Id: XDRDataOutput.java,v 1.2 2000/10/25 19:55:48 tonyj Exp $
Author:
Tony Johnson (tonyj@slac.stanford.edu)

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(String string)
          Write a string preceeded by its (int) length
 void writeStringChars(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(String string)
                 throws IOException
Write a string preceeded by its (int) length

IOException

writeStringChars

public void writeStringChars(String string)
                      throws IOException
Write a string (no length is written)

IOException

writeIntArray

public void writeIntArray(int[] array)
                   throws IOException
IOException

writeDoubleArray

public void writeDoubleArray(double[] array)
                      throws IOException
IOException

writeFloatArray

public void writeFloatArray(float[] array)
                     throws IOException
IOException

writeIntArray

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

writeDoubleArray

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

writeFloatArray

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

pad

public void pad()
         throws IOException
IOException

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.