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.OutputStream
java.io.IOException
public final void write(byte[] bytes) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public final void write(byte[] bytes, int offset, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public int getByteCount()
public final void write4Bytes(int value) throws java.io.IOException
java.io.IOException
public final void write3Bytes(int value) throws java.io.IOException
java.io.IOException
public final void write2Bytes(int value) throws java.io.IOException
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"