net.sf.sevenzipjbinding
Interface ISequentialOutStream
public interface ISequentialOutStream
Interface used to operate with sequential output stream.
- Version:
- 4.65-1
- Author:
- Boris Brodski
Method Summary |
int |
write(byte[] data)
if (size > 0) this function must write at least 1 byte. |
write
int write(byte[] data)
throws SevenZipException
- if (size > 0) this function must write at least 1 byte. This function is allowed to write less than "size". You
must call Write function in loop, if you need to write exact amount of data
- Parameters:
data
- data to write
- Returns:
- count of written bytes
- Throws:
SevenZipException
- in error case. If this method ends with an exception, the current operation will be reported to 7-Zip
as failed. There are no guarantee, that there are no further call back methods will be called. The
first thrown exception will be saved and thrown late on from the first called 7-Zip-JBinding main
method, such as ISevenZipInArchive.extract()
or SevenZip.openInArchive()
.