hep.io.xdr
Interface XDRDataOutput

All Superinterfaces:
Closeable, DataOutput, Flushable
All Known Implementing Classes:
XDRBufferedRandomAccessFile, XDROutputStream, XDRRandomAccessFile

public interface XDRDataOutput
extends DataOutput, Closeable, Flushable

An interface implemented by output streams that support XDR.

Version:
$Id: XDRDataOutput.java 13659 2009-10-09 23:23:47Z tonyj $
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
 
Methods inherited from interface java.io.Closeable
close
 
Methods inherited from interface java.io.Flushable
flush
 

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-2013 FreeHEP. All Rights Reserved.