public class BinaryOutputStream
extends java.io.OutputStream
| Constructor and Description |
|---|
BinaryOutputStream(java.io.OutputStream os) |
BinaryOutputStream(java.io.OutputStream os,
java.nio.ByteOrder byteOrder) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
getByteCount() |
java.nio.ByteOrder |
getByteOrder() |
boolean |
getDebug() |
void |
setDebug(boolean b) |
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int offset,
int length) |
void |
write(int i) |
void |
write2Bytes(int value) |
void |
write3Bytes(int value) |
void |
write4Bytes(int value) |
public BinaryOutputStream(java.io.OutputStream os,
java.nio.ByteOrder byteOrder)
public BinaryOutputStream(java.io.OutputStream os)
public final void setDebug(boolean b)
public final boolean getDebug()
public java.nio.ByteOrder getByteOrder()
public void write(int i)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic final void write(byte[] bytes)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic final void write(byte[] bytes,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic int getByteCount()
public final void write4Bytes(int value)
throws java.io.IOException
java.io.IOExceptionpublic final void write3Bytes(int value)
throws java.io.IOException
java.io.IOExceptionpublic final void write2Bytes(int value)
throws java.io.IOException
java.io.IOException"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"