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 8584 2006-08-10 23:06:37Z duns $
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

pad

void pad()
         throws IOException
Throws:
IOException

writeDoubleArray

void writeDoubleArray(double[] array)
                      throws IOException
Throws:
IOException

writeDoubleArray

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

writeFloatArray

void writeFloatArray(float[] array)
                     throws IOException
Throws:
IOException

writeFloatArray

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

writeIntArray

void writeIntArray(int[] array)
                   throws IOException
Throws:
IOException

writeIntArray

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

writeString

void writeString(String string)
                 throws IOException
Write a string preceeded by its (int) length

Throws:
IOException

writeStringChars

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

Throws:
IOException


Copyright © 2000-2006 FreeHEP. All Rights Reserved.