uk.co.mmscomputing.io
Class MultiByteInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
uk.co.mmscomputing.io.MultiByteInputStream
- All Implemented Interfaces:
- java.io.Closeable
- Direct Known Subclasses:
- LEInputStream
public abstract class MultiByteInputStream
- extends java.io.FilterInputStream
| Fields inherited from class java.io.FilterInputStream |
in |
|
Method Summary |
abstract void |
convertByteToShort(byte[] in,
int inoff,
short[] out,
int outoff)
|
abstract void |
convertShortToByte(short[] in,
int inoff,
byte[] out,
int outoff)
|
abstract int |
read(int[] b,
int off,
int len)
|
int |
read(short[] b)
|
abstract int |
read(short[] b,
int off,
int len)
|
| Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiByteInputStream
public MultiByteInputStream(java.io.InputStream in)
convertShortToByte
public abstract void convertShortToByte(short[] in,
int inoff,
byte[] out,
int outoff)
convertByteToShort
public abstract void convertByteToShort(byte[] in,
int inoff,
short[] out,
int outoff)
read
public int read(short[] b)
throws java.io.IOException
- Throws:
java.io.IOException
read
public abstract int read(short[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public abstract int read(int[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.