Package org.mp4parser.muxer.tracks.h264
Class H264TrackImpl.ByteBufferBackedInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.mp4parser.muxer.tracks.h264.H264TrackImpl.ByteBufferBackedInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- H264TrackImpl
public class H264TrackImpl.ByteBufferBackedInputStream extends InputStream
-
-
Constructor Summary
Constructors Constructor Description ByteBufferBackedInputStream(ByteBuffer buf)
-
Method Summary
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
-
-
-
Constructor Detail
-
ByteBufferBackedInputStream
public ByteBufferBackedInputStream(ByteBuffer buf)
-
-
Method Detail
-
read
public int read() throws IOException
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
public int read(byte[] bytes, int off, int len) throws IOException
- Overrides:
read
in classInputStream
- Throws:
IOException
-
-