public final class ByteOutputStream
extends java.lang.Object
implements java.io.Closeable
OutputStream.| Constructor and Description |
|---|
ByteOutputStream(java.io.OutputStream os) |
ByteOutputStream(java.io.OutputStream os,
java.nio.ByteOrder order) |
ByteOutputStream(Stream stream) |
ByteOutputStream(Stream stream,
java.nio.ByteOrder order) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.nio.ByteOrder |
getOrder() |
java.io.OutputStream |
getOutputStream() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] b,
int start,
int length) |
void |
writeChars(char[] chars,
int start,
int length) |
void |
writeDouble(double d) |
void |
writeDoubles(double[] array,
int start,
int length) |
void |
writeFloat(float f) |
void |
writeFloats(float[] array,
int start,
int length) |
void |
writeInt(int i) |
void |
writeInts(int[] array,
int start,
int length) |
void |
writeLong(long l) |
void |
writeLongs(long[] array,
int start,
int length) |
void |
writeShort(short s) |
void |
writeShorts(short[] array,
int start,
int length) |
public ByteOutputStream(Stream stream) throws java.io.IOException
java.io.IOExceptionpublic ByteOutputStream(Stream stream, java.nio.ByteOrder order) throws java.io.IOException
java.io.IOExceptionpublic ByteOutputStream(java.io.OutputStream os)
public ByteOutputStream(java.io.OutputStream os,
java.nio.ByteOrder order)
public final void writeByte(byte b)
throws java.io.IOException
java.io.IOExceptionpublic final void writeBytes(byte[] b,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeChars(char[] chars,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeShort(short s)
throws java.io.IOException
java.io.IOExceptionpublic final void writeShorts(short[] array,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeInt(int i)
throws java.io.IOException
java.io.IOExceptionpublic final void writeInts(int[] array,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeFloat(float f)
throws java.io.IOException
java.io.IOExceptionpublic final void writeFloats(float[] array,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeLong(long l)
throws java.io.IOException
java.io.IOExceptionpublic final void writeLongs(long[] array,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void writeDouble(double d)
throws java.io.IOException
java.io.IOExceptionpublic final void writeDoubles(double[] array,
int start,
int length)
throws java.io.IOException
java.io.IOExceptionpublic final void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic final java.nio.ByteOrder getOrder()
public final java.io.OutputStream getOutputStream()
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com