public final class IO extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
compareInputByteStreams(InputByteStream stream1,
InputByteStream stream2)
Compare two InputByteStream instances on a byte for byte basis.
|
static long |
copy(BitInputStream is,
long length,
OutputStream os,
int bitsPerValue)
Copies length number of samples each with bits "bitsPerValue" from BitInputStream to the outputstream.
|
static long |
copy(BitInputStream is,
OutputStream os,
int bitsPerValue)
Only for internal engineering use.
|
static long |
copy(InputByteStream is,
long offset,
long length,
OutputByteStream os)
Only for internal engineering use.
|
static long |
copy(InputByteStream is,
long offset,
long length,
OutputStream os)
Only for internal engineering use.
|
static long |
copy(InputByteStream is,
long offset,
long length,
OutputStream os,
int blockSize)
Only for internal engineering use.
|
static long |
copy(InputByteStream is,
OutputByteStream os)
Only for internal engineering use.
|
static long |
copy(InputByteStream is,
OutputStream os)
Only for internal engineering use.
|
static long |
copy(InputStream is,
long length,
OutputStream os)
Only for internal engineering use.
|
static long |
copy(InputStream is,
OutputByteStream obs)
Only for internal engineering use.
|
static long |
copy(InputStream is,
OutputStream os)
Only for internal engineering use.
|
static byte[] |
inputByteStreamToArray(InputByteStream byteStream)
Only for internal engineering use.
|
static byte[] |
longToByteArray(long value,
int width)
Only for internal engineering use.
|
public static final long copy(InputStream is, OutputStream os) throws IOException
is - InputStream to be copiedos - OutputSream to copy toIOExceptionpublic static final long copy(InputStream is, long length, OutputStream os) throws IOException
is - InputByteStream to be copiedlength - The amount of bytes to be copiesos - OutputTream to copy toIOExceptionpublic static final long copy(BitInputStream is, OutputStream os, int bitsPerValue) throws IOException
is - BitInputStream to be copiedos - OutputSream to copy toIOExceptionpublic static final long copy(BitInputStream is, long length, OutputStream os, int bitsPerValue) throws IOException
is - length - os - bitsPerValue - IOExceptionpublic static final long copy(InputByteStream is, OutputByteStream os) throws IOException
is - InputStream to be copiedos - OutputTream to copy toIOExceptionpublic static final long copy(InputByteStream is, OutputStream os) throws IOException
is - InputStream to be copiedos - OutputTream to copy toIOExceptionpublic static final long copy(InputByteStream is, long offset, long length, OutputByteStream os) throws IOException
is - InputByteStream to be copiedoffset - The offset into the InputByteStream where the copy should beginlength - The amount of bytes to be copiesos - OutputTream to copy toIOExceptionpublic static final long copy(InputByteStream is, long offset, long length, OutputStream os, int blockSize) throws IOException
is - InputByteStream to be copiedoffset - The offset into the InputByteStream where the copy should beginlength - The amount of bytes to be copiedos - OutputStream to copy toblockSize - size of the block to use in copyingIOExceptionpublic static final long copy(InputByteStream is, long offset, long length, OutputStream os) throws IOException
is - InputByteStream to be copiedoffset - The offset into the InputByteStream where the copy should beginlength - The amount of bytes to be copiesos - OutputTream to copy toIOExceptionpublic static final byte[] longToByteArray(long value,
int width)
value - - long value to be writtenwidth - - int number of bytes to be writtenpublic static final byte[] inputByteStreamToArray(InputByteStream byteStream) throws IOException
IOExceptionpublic static long copy(InputStream is, OutputByteStream obs) throws IOException
is - InputStream to be copiedobs - OutputByteSream to copy toIOExceptionpublic static int compareInputByteStreams(InputByteStream stream1, InputByteStream stream2) throws IOException
stream1 - stream2 - IOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved