public class StoredFileDataEncoder extends Object implements FileDataEncoder
Constructor and Description |
---|
StoredFileDataEncoder(OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
encode(byte[] inputBuffer,
int offset,
int length)
Encode a buffer bytes from a Zip-file.
|
public StoredFileDataEncoder(OutputStream outputStream)
public void encode(byte[] inputBuffer, int offset, int length) throws IOException
FileDataEncoder
encode
in interface FileDataEncoder
inputBuffer
- Bytes to be encoded.offset
- Offset in the buffer of the bytes to be encoded.length
- Number of bytes to be encoded.IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.