Package com.zakgof.velvetvideo
Interface ISeekableOutput
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
FileSeekableOutput,MemSeekableFile
public interface ISeekableOutput
extends java.lang.AutoCloseable
Input stream with capability of seeking.
-
Method Details
-
write
void write(byte[] bytes)Writes bytes from bytes array into the output stream.- Parameters:
bytes- buffer to write data from- Throws:
VelvetVideoException- if IO error occurs
-
seek
void seek(long position)Seeks the write pointer to a specified position.- Parameters:
position- position to seek in bytes from the stream beginning
-
close
void close()Closes the output stream and frees the resources.- Specified by:
closein interfacejava.lang.AutoCloseable
-