uk.co.mmscomputing.io
Class LEInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
uk.co.mmscomputing.io.MultiByteInputStream
uk.co.mmscomputing.io.LEInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class LEInputStream
- extends MultiByteInputStream
| Fields inherited from class java.io.FilterInputStream |
in |
|
Method Summary |
void |
convertByteToShort(byte[] in,
int inoff,
short[] out,
int outoff)
|
void |
convertShortToByte(short[] in,
int inoff,
byte[] out,
int outoff)
|
int |
read(int[] outbuf,
int off,
int len)
|
int |
read(short[] outbuf,
int off,
int len)
|
boolean |
readBoolean()
|
int |
readInt()
|
short |
readShort()
|
int |
readUnsignedShort()
|
| 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 |
LEInputStream
public LEInputStream(java.io.InputStream in)
LEInputStream
public LEInputStream(java.io.File f)
throws java.io.IOException
- Throws:
java.io.IOException
LEInputStream
public LEInputStream(java.net.URL url)
throws java.io.IOException
- Throws:
java.io.IOException
readBoolean
public boolean readBoolean()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readShort
public short readShort()
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedShort
public int readUnsignedShort()
throws java.io.IOException
- Throws:
java.io.IOException
convertByteToShort
public void convertByteToShort(byte[] in,
int inoff,
short[] out,
int outoff)
- Specified by:
convertByteToShort in class MultiByteInputStream
convertShortToByte
public void convertShortToByte(short[] in,
int inoff,
byte[] out,
int outoff)
- Specified by:
convertShortToByte in class MultiByteInputStream
read
public int read(short[] outbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
read in class MultiByteInputStream
- Throws:
java.io.IOException
read
public int read(int[] outbuf,
int off,
int len)
throws java.io.IOException
- Specified by:
read in class MultiByteInputStream
- Throws:
java.io.IOException
Copyright © 2011 Direcció General de Tecnologia i Comunicacions. Govern de les Illes Balears. All Rights Reserved.