1685 lines
107 KiB
HTML
1685 lines
107 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!-- NewPage -->
|
|
<html lang="en">
|
|
<head>
|
|
<!-- Generated by javadoc (version 1.7.0_51) on Wed Apr 06 13:11:04 EDT 2016 -->
|
|
<title>OutStream (Parallel Java 2 Library Documentation)</title>
|
|
<meta name="date" content="2016-04-06">
|
|
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="OutStream (Parallel Java 2 Library Documentation)";
|
|
}
|
|
//-->
|
|
</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar_top">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/OutStream.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/io/Stdio.html" title="class in edu.rit.io"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/io/OutStream.html" target="_top">Frames</a></li>
|
|
<li><a href="OutStream.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle">edu.rit.io</div>
|
|
<h2 title="Class OutStream" class="title">Class OutStream</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>edu.rit.io.OutStream</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<br>
|
|
<pre>public class <span class="strong">OutStream</span>
|
|
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
|
<div class="block">Class OutStream provides an object that writes primitive data types, strings,
|
|
objects, and arrays in binary form to an underlying output stream. The
|
|
resulting byte stream can be read using class <a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a> as
|
|
described in more detail in the individual methods.
|
|
<P>
|
|
The methods for writing integer types and strings write a variable number of
|
|
bytes, as described in more detail in the individual methods. This can save
|
|
space in the byte stream if small integer values are written more frequently
|
|
than large integer values.
|
|
<P>
|
|
Several methods for writing objects are provided:
|
|
<UL>
|
|
<P><LI>
|
|
<a href="../../../edu/rit/io/OutStream.html#writeFields(edu.rit.io.Streamable)"><code>writeFields()</code></a> writes just the fields of a
|
|
<a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> object. Use this method when the reader knows the
|
|
class of the object ahead of time and has already created an instance of that
|
|
class.
|
|
<P><LI>
|
|
<a href="../../../edu/rit/io/OutStream.html#writeObject(java.lang.Object)"><code>writeObject()</code></a> writes both the class name and the
|
|
fields of a <a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a> object. Use this method when the reader does not know the class
|
|
of the object ahead of time.
|
|
<P><LI>
|
|
<a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a> writes the class name and
|
|
the fields of a <a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> or <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a> object, and also keeps a reference to the object. If the same
|
|
object is passed to <a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a> again,
|
|
just a reference to the previous object is written. Use this method when the
|
|
reader needs to end up with multiple references to the same object.
|
|
</UL>
|
|
<P>
|
|
Classes OutStream and <a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io">InStream</a> provide a <I>lightweight</I>
|
|
object serialization capability—one that generates fewer bytes than
|
|
Java Object Serialization in package java.io. However, the programmer is
|
|
responsible for writing all the serialization and deserialization code in
|
|
each class that implements interface <a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a>.
|
|
<P>
|
|
To support interoperability with classes designed to work with Java Object
|
|
Serialization, <a href="../../../edu/rit/io/OutStream.html#writeObject(java.lang.Object)"><code>writeObject()</code></a> and <a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a> will work both on <a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> objects and on <a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>
|
|
objects. In the latter case, the object is converted to a byte array using
|
|
Java Object Serialization, and the byte array is written.
|
|
<P>
|
|
Methods for writing arrays of primitive types, strings, and objects are
|
|
provided. Methods for writing multidimensional arrays are not provided; you
|
|
can write a multidimensional array by writing a series of single-dimensional
|
|
arrays.
|
|
<P>
|
|
Class OutStream includes buffering. All bytes written are stored in an
|
|
internal buffer. The buffer is flushed to the underlying output stream when
|
|
the buffer fills up, the <a href="../../../edu/rit/io/OutStream.html#flush()"><code>flush()</code></a> method is called, or the
|
|
<a href="../../../edu/rit/io/OutStream.html#close()"><code>close()</code></a> method is called.
|
|
<P>
|
|
<I>Note:</I> Class OutStream is not multiple thread safe.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colOne" scope="col">Constructor and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/io/OutStream.html#OutStream(java.io.OutputStream)">OutStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code>
|
|
<div class="block">Construct a new out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colOne"><code><strong><a href="../../../edu/rit/io/OutStream.html#OutStream(java.io.OutputStream, int)">OutStream</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out,
|
|
int size)</code>
|
|
<div class="block">Construct a new out stream with the given internal buffer size.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</li>
|
|
</ul>
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Summary</h3>
|
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colLast" scope="col">Method and Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#clearCache()">clearCache</a></strong>()</code>
|
|
<div class="block">Clear the cache of objects that have been written using <a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#close()">close</a></strong>()</code>
|
|
<div class="block">Close this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>protected void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#finalize()">finalize</a></strong>()</code>
|
|
<div class="block">Finalize this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#flush()">flush</a></strong>()</code>
|
|
<div class="block">Flush this out stream to the underlying output stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeBoolean(boolean)">writeBoolean</a></strong>(boolean v)</code>
|
|
<div class="block">Write the given Boolean value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeBooleanArray(boolean[])">writeBooleanArray</a></strong>(boolean[] v)</code>
|
|
<div class="block">Write the given Boolean array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeBooleanArray(boolean[], int, int)">writeBooleanArray</a></strong>(boolean[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given Boolean array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeByte(byte)">writeByte</a></strong>(byte v)</code>
|
|
<div class="block">Write the given byte value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeByteArray(byte[])">writeByteArray</a></strong>(byte[] v)</code>
|
|
<div class="block">Write the given byte array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeByteArray(byte[], int, int)">writeByteArray</a></strong>(byte[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given byte array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeChar(char)">writeChar</a></strong>(char v)</code>
|
|
<div class="block">Write the given character value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeCharArray(char[])">writeCharArray</a></strong>(char[] v)</code>
|
|
<div class="block">Write the given character array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeCharArray(char[], int, int)">writeCharArray</a></strong>(char[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given character array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeDouble(double)">writeDouble</a></strong>(double v)</code>
|
|
<div class="block">Write the given double value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeDoubleArray(double[])">writeDoubleArray</a></strong>(double[] v)</code>
|
|
<div class="block">Write the given double array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeDoubleArray(double[], int, int)">writeDoubleArray</a></strong>(double[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given double array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeFields(edu.rit.io.Streamable)">writeFields</a></strong>(<a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> v)</code>
|
|
<div class="block">Write the given object's fields to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeFloat(float)">writeFloat</a></strong>(float v)</code>
|
|
<div class="block">Write the given float value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeFloatArray(float[])">writeFloatArray</a></strong>(float[] v)</code>
|
|
<div class="block">Write the given float array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeFloatArray(float[], int, int)">writeFloatArray</a></strong>(float[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given float array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeInt(int)">writeInt</a></strong>(int v)</code>
|
|
<div class="block">Write the given integer value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeIntArray(int[])">writeIntArray</a></strong>(int[] v)</code>
|
|
<div class="block">Write the given integer array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeIntArray(int[], int, int)">writeIntArray</a></strong>(int[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given integer array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeLong(long)">writeLong</a></strong>(long v)</code>
|
|
<div class="block">Write the given long value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeLongArray(long[])">writeLongArray</a></strong>(long[] v)</code>
|
|
<div class="block">Write the given long array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeLongArray(long[], int, int)">writeLongArray</a></strong>(long[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given long array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeObject(java.lang.Object)">writeObject</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)</code>
|
|
<div class="block">Write the given object to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeObjectArray(java.lang.Object[])">writeObjectArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v)</code>
|
|
<div class="block">Write the given object array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeObjectArray(java.lang.Object[], int, int)">writeObjectArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given object array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)">writeReference</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)</code>
|
|
<div class="block">Write a reference to the given object to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeReferenceArray(java.lang.Object[])">writeReferenceArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v)</code>
|
|
<div class="block">Write the given array of object references to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeReferenceArray(java.lang.Object[], int, int)">writeReferenceArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given array of object references to this out
|
|
stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeShort(short)">writeShort</a></strong>(short v)</code>
|
|
<div class="block">Write the given short value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeShortArray(short[])">writeShortArray</a></strong>(short[] v)</code>
|
|
<div class="block">Write the given short array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeShortArray(short[], int, int)">writeShortArray</a></strong>(short[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given short array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeString(java.lang.String)">writeString</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</code>
|
|
<div class="block">Write the given string value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeStringArray(java.lang.String[])">writeStringArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] v)</code>
|
|
<div class="block">Write the given string array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeStringArray(java.lang.String[], int, int)">writeStringArray</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given string array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedByte(byte)">writeUnsignedByte</a></strong>(byte v)</code>
|
|
<div class="block">Write the given unsigned byte value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedByteArray(byte[])">writeUnsignedByteArray</a></strong>(byte[] v)</code>
|
|
<div class="block">Write the given unsigned byte array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedByteArray(byte[], int, int)">writeUnsignedByteArray</a></strong>(byte[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given unsigned byte array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedInt(int)">writeUnsignedInt</a></strong>(int v)</code>
|
|
<div class="block">Write the given unsigned integer value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedIntArray(int[])">writeUnsignedIntArray</a></strong>(int[] v)</code>
|
|
<div class="block">Write the given unsigned integer array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedIntArray(int[], int, int)">writeUnsignedIntArray</a></strong>(int[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given unsigned integer array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedLong(long)">writeUnsignedLong</a></strong>(long v)</code>
|
|
<div class="block">Write the given unsigned long value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedLongArray(long[])">writeUnsignedLongArray</a></strong>(long[] v)</code>
|
|
<div class="block">Write the given unsigned long array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedLongArray(long[], int, int)">writeUnsignedLongArray</a></strong>(long[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given unsigned long array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedShort(short)">writeUnsignedShort</a></strong>(short v)</code>
|
|
<div class="block">Write the given unsigned short value to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedShortArray(short[])">writeUnsignedShortArray</a></strong>(short[] v)</code>
|
|
<div class="block">Write the given unsigned short array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>void</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../edu/rit/io/OutStream.html#writeUnsignedShortArray(short[], int, int)">writeUnsignedShortArray</a></strong>(short[] v,
|
|
int off,
|
|
int len)</code>
|
|
<div class="block">Write a portion of the given unsigned short array to this out stream.</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
|
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="constructor_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Constructor Detail</h3>
|
|
<a name="OutStream(java.io.OutputStream)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>OutStream</h4>
|
|
<pre>public OutStream(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</pre>
|
|
<div class="block">Construct a new out stream. The internal buffer size is the default (8192
|
|
bytes).</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Underlying output stream.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>out</TT> is null.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="OutStream(java.io.OutputStream, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>OutStream</h4>
|
|
<pre>public OutStream(<a href="http://docs.oracle.com/javase/7/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out,
|
|
int size)</pre>
|
|
<div class="block">Construct a new out stream with the given internal buffer size.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - Underlying output stream.</dd><dd><code>size</code> - Internal buffer size ≥ 1 (bytes).</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>out</TT> is null.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - (unchecked exception) Thrown if <TT>size</TT> < 1.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="method_detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Method Detail</h3>
|
|
<a name="writeBoolean(boolean)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeBoolean</h4>
|
|
<pre>public void writeBoolean(boolean v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given Boolean value to this out stream. One byte is written,
|
|
either 0 (if <TT>v</TT> is false) or 1 (if <TT>v</TT> is true).
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readBoolean()"><code>InStream.readBoolean()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Boolean value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeByte(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeByte</h4>
|
|
<pre>public void writeByte(byte v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given byte value to this out stream.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readByte()"><code>InStream.readByte()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Byte value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedByte(byte)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedByte</h4>
|
|
<pre>public void writeUnsignedByte(byte v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned byte value to this out stream.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedByte()"><code>InStream.readUnsignedByte()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned byte value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeShort(short)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeShort</h4>
|
|
<pre>public void writeShort(short v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given short value to this out stream. From one to three bytes
|
|
are written, depending on the value; smaller absolute values require
|
|
fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readShort()"><code>InStream.readShort()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Short value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedShort(short)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedShort</h4>
|
|
<pre>public void writeUnsignedShort(short v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned short value to this out stream. From one to
|
|
three bytes are written, depending on the value; smaller absolute values
|
|
require fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedShort()"><code>InStream.readUnsignedShort()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned short value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeChar(char)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeChar</h4>
|
|
<pre>public void writeChar(char v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given character value to this out stream. From one to three
|
|
bytes are written, depending on the value; smaller absolute values
|
|
require fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readChar()"><code>InStream.readChar()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Character value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeInt(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeInt</h4>
|
|
<pre>public void writeInt(int v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given integer value to this out stream. From one to five bytes
|
|
are written, depending on the value; smaller absolute values require
|
|
fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readInt()"><code>InStream.readInt()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Integer value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedInt(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedInt</h4>
|
|
<pre>public void writeUnsignedInt(int v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned integer value to this out stream. From one to
|
|
five bytes are written, depending on the value; smaller absolute values
|
|
require fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedInt()"><code>InStream.readUnsignedInt()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned integer value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeLong(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeLong</h4>
|
|
<pre>public void writeLong(long v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given long value to this out stream. From one to nine bytes are
|
|
written, depending on the value; smaller absolute values require fewer
|
|
bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readLong()"><code>InStream.readLong()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Long value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedLong(long)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedLong</h4>
|
|
<pre>public void writeUnsignedLong(long v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned long value to this out stream. From one to nine
|
|
bytes are written, depending on the value; smaller absolute values
|
|
require fewer bytes.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedLong()"><code>InStream.readUnsignedLong()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned long value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeFloat(float)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeFloat</h4>
|
|
<pre>public void writeFloat(float v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given float value to this out stream. Four bytes are written.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readFloat()"><code>InStream.readFloat()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Float value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeDouble(double)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeDouble</h4>
|
|
<pre>public void writeDouble(double v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given double value to this out stream. Eight bytes are written.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readDouble()"><code>InStream.readDouble()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Double value.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeString(java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeString</h4>
|
|
<pre>public void writeString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given string value to this out stream. The length of the string
|
|
is written using <TT>writeInt()</TT>, then each character of the string
|
|
is written using <TT>writeChar()</TT>. If <TT>v</TT> is null, then a
|
|
length of −1 is written.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readString()"><code>InStream.readString()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - String value, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeFields(edu.rit.io.Streamable)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeFields</h4>
|
|
<pre>public void writeFields(<a href="../../../edu/rit/io/Streamable.html" title="interface in edu.rit.io">Streamable</a> v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given object's fields to this out stream. The fields are
|
|
written by calling <TT>v.</TT><a href="../../../edu/rit/io/Streamable.html#writeOut(edu.rit.io.OutStream)"><code>writeOut()</code></a>. <TT>v</TT> must not be null.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readFields(T)"><code>InStream.readFields()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is null.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeObject(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeObject</h4>
|
|
<pre>public void writeObject(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given object to this out stream. If <TT>v</TT> is null, a 0
|
|
byte is written. Otherwise, a nonzero index designating the object's
|
|
class is written using <TT>writeUnsignedInt()</TT>; if this is the first
|
|
occurrence of the class, the class name is written using
|
|
<TT>writeString()</TT>; and either (a) for a streamable object, the
|
|
object's fields are written by calling <TT>writeFields()</TT>, or (b) for
|
|
a serializable object, the object is converted to a byte array using Java
|
|
Object Serialization and the byte array is written.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readObject()"><code>InStream.readObject()</code></a>.
|
|
<P>
|
|
<I>Note:</I> If the same object is written multiple times using
|
|
<TT>writeObject()</TT>, the reader will end up with multiple
|
|
<I>different</I> objects (that are copies of each other). If the reader
|
|
needs to end up with multiple references to the <I>same</I> object, use
|
|
<a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeReference(java.lang.Object)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeReference</h4>
|
|
<pre>public void writeReference(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a reference to the given object to this out stream. If <TT>v</TT>
|
|
is null, a 0 byte is written. Otherwise, a nonzero index designating the
|
|
object reference is written using <TT>writeUnsignedInt()</TT>; if this is
|
|
the first occurrence of the object, the object is written using
|
|
<TT>writeObject()</TT>, and the object is saved in a cache so that later
|
|
calls to <TT>writeReference()</TT> will write just the reference index.
|
|
To clear the cache, call <a href="../../../edu/rit/io/OutStream.html#clearCache()"><code>clearCache()</code></a>.
|
|
<P>
|
|
To read the value, the reader must call <a href="../../../edu/rit/io/InStream.html#readReference()"><code>InStream.readReference()</code></a>.
|
|
<P>
|
|
<I>Note:</I> If the same object is written multiple times using
|
|
<TT>writeReference()</TT>, the reader will end up with multiple
|
|
references to the <I>same</I> object. If the reader needs to end up with
|
|
multiple <I>different</I> objects (that are copies of each other), use
|
|
<a href="../../../edu/rit/io/OutStream.html#writeObject(java.lang.Object)"><code>writeObject()</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="clearCache()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearCache</h4>
|
|
<pre>public void clearCache()</pre>
|
|
<div class="block">Clear the cache of objects that have been written using <a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a>. Afterwards, this out stream
|
|
will act as though no objects had been previously written using <a href="../../../edu/rit/io/OutStream.html#writeReference(java.lang.Object)"><code>writeReference()</code></a>.
|
|
<P>
|
|
The reader must call <a href="../../../edu/rit/io/InStream.html#clearCache()"><code>InStream.clearCache()</code></a> at the same point as
|
|
the writer called <TT>clearCache()</TT>.</div>
|
|
</li>
|
|
</ul>
|
|
<a name="writeBooleanArray(boolean[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeBooleanArray</h4>
|
|
<pre>public void writeBooleanArray(boolean[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given Boolean array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeBoolean()</TT>. If <TT>v</TT> is null, then a
|
|
length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readBooleanArray()"><code>InStream.readBooleanArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readBooleanArray(boolean[])"><code>InStream.readBooleanArray(boolean[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readBooleanArray(boolean[], int, int)"><code>InStream.readBooleanArray(boolean[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Boolean array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeBooleanArray(boolean[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeBooleanArray</h4>
|
|
<pre>public void writeBooleanArray(boolean[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given Boolean array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeBoolean()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readBooleanArray()"><code>InStream.readBooleanArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readBooleanArray(boolean[])"><code>InStream.readBooleanArray(boolean[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readBooleanArray(boolean[], int, int)"><code>InStream.readBooleanArray(boolean[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Boolean array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeByteArray(byte[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeByteArray</h4>
|
|
<pre>public void writeByteArray(byte[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given byte array to this out stream. The length of the array is
|
|
written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeByte()</TT>. If <TT>v</TT> is null, then a length
|
|
of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readByteArray()"><code>InStream.readByteArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readByteArray(byte[])"><code>InStream.readByteArray(byte[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readByteArray(byte[], int, int)"><code>InStream.readByteArray(byte[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Byte array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeByteArray(byte[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeByteArray</h4>
|
|
<pre>public void writeByteArray(byte[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given byte array to this out stream. The length of
|
|
the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeByte()</TT>. If <TT>v</TT> is null,
|
|
then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readByteArray()"><code>InStream.readByteArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readByteArray(byte[])"><code>InStream.readByteArray(byte[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readByteArray(byte[], int, int)"><code>InStream.readByteArray(byte[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Byte array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedByteArray(byte[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedByteArray</h4>
|
|
<pre>public void writeUnsignedByteArray(byte[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned byte array to this out stream. The length of the
|
|
array is written using <TT>writeInt()</TT>, then each element of the
|
|
array is written using <TT>writeUnsignedByte()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray()"><code>InStream.readUnsignedByteArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray(byte[])"><code>InStream.readUnsignedByteArray(byte[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray(byte[], int, int)"><code>InStream.readUnsignedByteArray(byte[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned byte array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedByteArray(byte[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedByteArray</h4>
|
|
<pre>public void writeUnsignedByteArray(byte[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given unsigned byte array to this out stream. The
|
|
length of the portion is written using <TT>writeInt()</TT>, then each
|
|
element of the portion is written using <TT>writeUnsignedByte()</TT>. If
|
|
<TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray()"><code>InStream.readUnsignedByteArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray(byte[])"><code>InStream.readUnsignedByteArray(byte[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedByteArray(byte[], int, int)"><code>InStream.readUnsignedByteArray(byte[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned byte array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeShortArray(short[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeShortArray</h4>
|
|
<pre>public void writeShortArray(short[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given short array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeShort()</TT>. If <TT>v</TT> is null, then a length
|
|
of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readShortArray()"><code>InStream.readShortArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readShortArray(short[])"><code>InStream.readShortArray(short[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readShortArray(short[], int, int)"><code>InStream.readShortArray(short[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Short array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeShortArray(short[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeShortArray</h4>
|
|
<pre>public void writeShortArray(short[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given short array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeShort()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readShortArray()"><code>InStream.readShortArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readShortArray(short[])"><code>InStream.readShortArray(short[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readShortArray(short[], int, int)"><code>InStream.readShortArray(short[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Short array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedShortArray(short[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedShortArray</h4>
|
|
<pre>public void writeUnsignedShortArray(short[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned short array to this out stream. The length of
|
|
the array is written using <TT>writeInt()</TT>, then each element of the
|
|
array is written using <TT>writeUnsignedShort()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray()"><code>InStream.readUnsignedShortArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray(short[])"><code>InStream.readUnsignedShortArray(short[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray(short[], int, int)"><code>InStream.readUnsignedShortArray(short[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned short array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedShortArray(short[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedShortArray</h4>
|
|
<pre>public void writeUnsignedShortArray(short[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given unsigned short array to this out stream. The
|
|
length of the portion is written using <TT>writeInt()</TT>, then each
|
|
element of the portion is written using <TT>writeUnsignedShort()</TT>. If
|
|
<TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray()"><code>InStream.readUnsignedShortArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray(short[])"><code>InStream.readUnsignedShortArray(short[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedShortArray(short[], int, int)"><code>InStream.readUnsignedShortArray(short[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned short array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeCharArray(char[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeCharArray</h4>
|
|
<pre>public void writeCharArray(char[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given character array to this out stream. The length of the
|
|
array is written using <TT>writeInt()</TT>, then each element of the
|
|
array is written using <TT>writeChar()</TT>. If <TT>v</TT> is null, then
|
|
a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readCharArray()"><code>InStream.readCharArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readCharArray(char[])"><code>InStream.readCharArray(char[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readCharArray(char[], int, int)"><code>InStream.readCharArray(char[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Character array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeCharArray(char[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeCharArray</h4>
|
|
<pre>public void writeCharArray(char[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given character array to this out stream. The
|
|
length of the portion is written using <TT>writeInt()</TT>, then each
|
|
element of the portion is written using <TT>writeChar()</TT>. If
|
|
<TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readCharArray()"><code>InStream.readCharArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readCharArray(char[])"><code>InStream.readCharArray(char[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readCharArray(char[], int, int)"><code>InStream.readCharArray(char[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Character array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeIntArray(int[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeIntArray</h4>
|
|
<pre>public void writeIntArray(int[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given integer array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeInt()</TT>. If <TT>v</TT> is null, then a length
|
|
of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readIntArray()"><code>InStream.readIntArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readIntArray(int[])"><code>InStream.readIntArray(int[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readIntArray(int[], int, int)"><code>InStream.readIntArray(int[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Integer array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeIntArray(int[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeIntArray</h4>
|
|
<pre>public void writeIntArray(int[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given integer array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeInt()</TT>. If <TT>v</TT> is null,
|
|
then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readIntArray()"><code>InStream.readIntArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readIntArray(int[])"><code>InStream.readIntArray(int[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readIntArray(int[], int, int)"><code>InStream.readIntArray(int[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Integer array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedIntArray(int[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedIntArray</h4>
|
|
<pre>public void writeUnsignedIntArray(int[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned integer array to this out stream. The length of
|
|
the array is written using <TT>writeInt()</TT>, then each element of the
|
|
array is written using <TT>writeUnsignedInt()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray()"><code>InStream.readUnsignedIntArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray(int[])"><code>InStream.readUnsignedIntArray(int[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray(int[], int, int)"><code>InStream.readUnsignedIntArray(int[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned integer array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedIntArray(int[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedIntArray</h4>
|
|
<pre>public void writeUnsignedIntArray(int[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given unsigned integer array to this out stream.
|
|
The length of the portion is written using <TT>writeInt()</TT>, then each
|
|
element of the portion is written using <TT>writeUnsignedInt()</TT>. If
|
|
<TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray()"><code>InStream.readUnsignedIntArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray(int[])"><code>InStream.readUnsignedIntArray(int[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedIntArray(int[], int, int)"><code>InStream.readUnsignedIntArray(int[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned integer array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeLongArray(long[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeLongArray</h4>
|
|
<pre>public void writeLongArray(long[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given long array to this out stream. The length of the array is
|
|
written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeLong()</TT>. If <TT>v</TT> is null, then a length
|
|
of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readLongArray()"><code>InStream.readLongArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readLongArray(long[])"><code>InStream.readLongArray(long[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readLongArray(long[], int, int)"><code>InStream.readLongArray(long[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Long array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeLongArray(long[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeLongArray</h4>
|
|
<pre>public void writeLongArray(long[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given long array to this out stream. The length of
|
|
the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeLong()</TT>. If <TT>v</TT> is null,
|
|
then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readLongArray()"><code>InStream.readLongArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readLongArray(long[])"><code>InStream.readLongArray(long[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readLongArray(long[], int, int)"><code>InStream.readLongArray(long[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Long array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedLongArray(long[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedLongArray</h4>
|
|
<pre>public void writeUnsignedLongArray(long[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given unsigned long array to this out stream. The length of the
|
|
array is written using <TT>writeInt()</TT>, then each element of the
|
|
array is written using <TT>writeUnsignedLong()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray()"><code>InStream.readUnsignedLongArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray(long[])"><code>InStream.readUnsignedLongArray(long[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray(long[], int, int)"><code>InStream.readUnsignedLongArray(long[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned long array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeUnsignedLongArray(long[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeUnsignedLongArray</h4>
|
|
<pre>public void writeUnsignedLongArray(long[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given unsigned long array to this out stream. The
|
|
length of the portion is written using <TT>writeInt()</TT>, then each
|
|
element of the portion is written using <TT>writeUnsignedLong()</TT>. If
|
|
<TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray()"><code>InStream.readUnsignedLongArray()</code></a>,
|
|
<a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray(long[])"><code>InStream.readUnsignedLongArray(long[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readUnsignedLongArray(long[], int, int)"><code>InStream.readUnsignedLongArray(long[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Unsigned long array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeFloatArray(float[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeFloatArray</h4>
|
|
<pre>public void writeFloatArray(float[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given float array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeFloat()</TT>. If <TT>v</TT> is null, then a length
|
|
of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readFloatArray()"><code>InStream.readFloatArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readFloatArray(float[])"><code>InStream.readFloatArray(float[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readFloatArray(float[], int, int)"><code>InStream.readFloatArray(float[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Float array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeFloatArray(float[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeFloatArray</h4>
|
|
<pre>public void writeFloatArray(float[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given float array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeFloat()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readFloatArray()"><code>InStream.readFloatArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readFloatArray(float[])"><code>InStream.readFloatArray(float[])</code></a>, or
|
|
<a href="../../../edu/rit/io/InStream.html#readFloatArray(float[], int, int)"><code>InStream.readFloatArray(float[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Float array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeDoubleArray(double[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeDoubleArray</h4>
|
|
<pre>public void writeDoubleArray(double[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given double array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeDouble()</TT>. If <TT>v</TT> is null, then a
|
|
length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readDoubleArray()"><code>InStream.readDoubleArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readDoubleArray(double[])"><code>InStream.readDoubleArray(double[])</code></a>,
|
|
or <a href="../../../edu/rit/io/InStream.html#readDoubleArray(double[], int, int)"><code>InStream.readDoubleArray(double[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Double array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeDoubleArray(double[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeDoubleArray</h4>
|
|
<pre>public void writeDoubleArray(double[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given double array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeDouble()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readDoubleArray()"><code>InStream.readDoubleArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readDoubleArray(double[])"><code>InStream.readDoubleArray(double[])</code></a>,
|
|
or <a href="../../../edu/rit/io/InStream.html#readDoubleArray(double[], int, int)"><code>InStream.readDoubleArray(double[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Double array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeStringArray(java.lang.String[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeStringArray</h4>
|
|
<pre>public void writeStringArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given string array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, then each element of the array is
|
|
written using <TT>writeString()</TT>. If <TT>v</TT> is null, then a
|
|
length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readStringArray()"><code>InStream.readStringArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readStringArray(java.lang.String[])"><code>InStream.readStringArray(String[])</code></a>,
|
|
or <a href="../../../edu/rit/io/InStream.html#readStringArray(java.lang.String[], int, int)"><code>InStream.readStringArray(String[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - String array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeStringArray(java.lang.String[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeStringArray</h4>
|
|
<pre>public void writeStringArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given string array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, then each element of
|
|
the portion is written using <TT>writeString()</TT>. If <TT>v</TT> is
|
|
null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readStringArray()"><code>InStream.readStringArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readStringArray(java.lang.String[])"><code>InStream.readStringArray(String[])</code></a>,
|
|
or <a href="../../../edu/rit/io/InStream.html#readStringArray(java.lang.String[], int, int)"><code>InStream.readStringArray(String[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - String array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeObjectArray(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeObjectArray</h4>
|
|
<pre>public void writeObjectArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given object array to this out stream. The length of the array
|
|
is written using <TT>writeInt()</TT>, the array element class is written,
|
|
then each element of the array is written using <TT>writeObject()</TT>.
|
|
If <TT>v</TT> is null, then a length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readObjectArray()"><code>InStream.readObjectArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readObjectArray(java.lang.Object[])"><code>InStream.readObjectArray(Object[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readObjectArray(java.lang.Object[], int, int)"><code>InStream.readObjectArray(Object[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeObjectArray(java.lang.Object[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeObjectArray</h4>
|
|
<pre>public void writeObjectArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given object array to this out stream. The length
|
|
of the portion is written using <TT>writeInt()</TT>, the array element
|
|
class is written, then each element of the portion is written using
|
|
<TT>writeObject()</TT>. If <TT>v</TT> is null, then a length of −1
|
|
is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readObjectArray()"><code>InStream.readObjectArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readObjectArray(java.lang.Object[])"><code>InStream.readObjectArray(Object[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readObjectArray(java.lang.Object[], int, int)"><code>InStream.readObjectArray(Object[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeReferenceArray(java.lang.Object[])">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeReferenceArray</h4>
|
|
<pre>public void writeReferenceArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write the given array of object references to this out stream. The length
|
|
of the array is written using <TT>writeInt()</TT>, the array element
|
|
class is written, then each element of the array is written using
|
|
<TT>writeReference()</TT>. If <TT>v</TT> is null, then a length of
|
|
−1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readReferenceArray()"><code>InStream.readReferenceArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readReferenceArray(java.lang.Object[])"><code>InStream.readReferenceArray(Object[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readReferenceArray(java.lang.Object[], int, int)"><code>InStream.readReferenceArray(Object[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object array, or null.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="writeReferenceArray(java.lang.Object[], int, int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>writeReferenceArray</h4>
|
|
<pre>public void writeReferenceArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] v,
|
|
int off,
|
|
int len)
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Write a portion of the given array of object references to this out
|
|
stream. The length of the portion is written using <TT>writeInt()</TT>,
|
|
the array element class is written, then each element of the portion is
|
|
written using <TT>writeReference()</TT>. If <TT>v</TT> is null, then a
|
|
length of −1 is written.
|
|
<P>
|
|
To read the array, the reader must call <a href="../../../edu/rit/io/InStream.html#readReferenceArray()"><code>InStream.readReferenceArray()</code></a>, <a href="../../../edu/rit/io/InStream.html#readReferenceArray(java.lang.Object[])"><code>InStream.readReferenceArray(Object[])</code></a>, or <a href="../../../edu/rit/io/InStream.html#readReferenceArray(java.lang.Object[], int, int)"><code>InStream.readReferenceArray(Object[],int,int)</code></a>.</div>
|
|
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>v</code> - Object array, or null.</dd><dd><code>off</code> - Index of first element to write.</dd><dd><code>len</code> - Number of elements to write.</dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - (unchecked exception) Thrown if <TT>v</TT> is non-null and
|
|
<TT>off</TT> < 0, <TT>len</TT> < 0, or <TT>off+len</TT> >
|
|
<TT>v.length</TT>.</dd>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="flush()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>flush</h4>
|
|
<pre>public void flush()
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Flush this out stream to the underlying output stream. Any buffered bytes
|
|
are written to the underlying output stream, and the underlying output
|
|
stream is flushed.</div>
|
|
<dl><dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="close()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>close</h4>
|
|
<pre>public void close()
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
|
<div class="block">Close this out stream. Any buffered bytes are written to the underlying
|
|
output stream, and the underlying output stream is flushed and closed.</div>
|
|
<dl><dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - Thrown if an I/O error occurred.</dd></dl>
|
|
</li>
|
|
</ul>
|
|
<a name="finalize()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>finalize</h4>
|
|
<pre>protected void finalize()
|
|
throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></pre>
|
|
<div class="block">Finalize this out stream.</div>
|
|
<dl>
|
|
<dt><strong>Overrides:</strong></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
|
|
<dt><span class="strong">Throws:</span></dt>
|
|
<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></code></dd></dl>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<div class="bottomNav"><a name="navbar_bottom">
|
|
<!-- -->
|
|
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../overview-summary.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/OutStream.html">Use</a></li>
|
|
<li><a href="package-tree.html">Tree</a></li>
|
|
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
|
<li><a href="../../../index-files/index-1.html">Index</a></li>
|
|
<li><a href="../../../help-doc.html">Help</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList">
|
|
<li><a href="../../../edu/rit/io/InStream.html" title="class in edu.rit.io"><span class="strong">Prev Class</span></a></li>
|
|
<li><a href="../../../edu/rit/io/Stdio.html" title="class in edu.rit.io"><span class="strong">Next Class</span></a></li>
|
|
</ul>
|
|
<ul class="navList">
|
|
<li><a href="../../../index.html?edu/rit/io/OutStream.html" target="_top">Frames</a></li>
|
|
<li><a href="OutStream.html" target="_top">No Frames</a></li>
|
|
</ul>
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
|
</ul>
|
|
<div>
|
|
<script type="text/javascript"><!--
|
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
|
if(window==top) {
|
|
allClassesLink.style.display = "block";
|
|
}
|
|
else {
|
|
allClassesLink.style.display = "none";
|
|
}
|
|
//-->
|
|
</script>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
|
<li><a href="#method_summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li>Field | </li>
|
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
|
<li><a href="#method_detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip-navbar_bottom">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
<p class="legalCopy"><small><FONT SIZE="-2">Copyright © 2013–2016 by Alan Kaminsky. All rights reserved. Send comments to ark</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">@</FONT><FONT SIZE="1" COLOR="#FFFFFF">­</FONT><FONT SIZE="-2">cs.rit.edu.</FONT></small></p>
|
|
</body>
|
|
</html>
|