Home | History | Annotate | Download | only in binary

Lines Matching refs:outputStream

38 import java.io.OutputStream;
60 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(
68 outputStream.write(buffer, 0, byteCount);
72 data = outputStream.toByteArray();
75 outputStream.close();
84 * Writes a short out to an OutputStream.
86 * @param outputStream
87 * The OutputStream the short will be written to
91 * Thrown if there is a problem writing to the OutputStream
93 public static void writeShort(OutputStream outputStream, short value)
97 outputStream.write(byteArray);
144 * Writes an integer out to an OutputStream.
146 * @param outputStream
147 * The OutputStream the integer will be written to
151 * Thrown if there is a problem writing to the OutputStream
153 public static void writeInt(OutputStream outputStream, int integer)
157 outputStream.write(byteArray);
208 * Writes a long out to an OutputStream.
210 * @param outputStream
211 * The OutputStream the long will be written to
215 * Thrown if there is a problem writing to the OutputStream
217 public static void writeLong(OutputStream outputStream, long value)
221 outputStream.write(byteArray);
288 * Writes a double out to an OutputStream.
290 * @param outputStream
291 * The OutputStream the double will be written to
295 * Thrown if there is a problem writing to the OutputStream
297 public static void writeDouble(OutputStream outputStream, double value)
301 outputStream.write(byteArray);
344 * Writes an float out to an OutputStream.
346 * @param outputStream
347 * The OutputStream the float will be written to
351 * Thrown if there is a problem writing to the OutputStream
353 public static void writeFloat(OutputStream outputStream, float fVal)
357 outputStream.write(byteArray);
401 * Writes a boolean out to an OutputStream.
403 * @param outputStream
404 * The OutputStream the boolean will be written to
408 * Thrown if there is a problem writing to the OutputStream
410 public static void writeBoolean(OutputStream outputStream, boolean bVal)
414 outputStream.write(byteArray);