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 voidclose()intread(double[] buf, int offset, int len)longskip(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:
readin interfaceFloatStream- Throws:
java.io.IOException
-
skip
public long skip(long skip) throws java.io.IOException- Specified by:
skipin interfaceFloatStream- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceFloatStream- Throws:
java.io.IOException
-
-