Package ipsk.io
Class FloatStreamAdapter
- java.lang.Object
-
- ipsk.io.FloatStreamAdapter
-
- All Implemented Interfaces:
FloatStream
public class FloatStreamAdapter extends java.lang.Object implements FloatStream
- Author:
- klausj
-
-
Constructor Summary
Constructors Constructor Description FloatStreamAdapter(InterleavedFloatStream srcStream, int channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
int
read(double[] buf, int offset, int len)
long
skip(long skip)
-
-
-
Constructor Detail
-
FloatStreamAdapter
public FloatStreamAdapter(InterleavedFloatStream srcStream, int channel)
-
-
Method Detail
-
read
public int read(double[] buf, int offset, int len) throws java.io.IOException
- Specified by:
read
in interfaceFloatStream
- Throws:
java.io.IOException
-
skip
public long skip(long skip) throws java.io.IOException
- Specified by:
skip
in interfaceFloatStream
- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfaceFloatStream
- Throws:
java.io.IOException
-
-