프로퍼티 | 타입 | 설명 | |
---|---|---|---|
InsureUniqueEntry | void | ||
_FinishCurrentEntry | void | ||
_Init | void | ||
_InitiateCurrentEntry | void |
메소드 | 설명 | |
---|---|---|
ContainsEntry ( string name ) : bool |
Returns true if an entry by the given name has already been written to the ZipOutputStream.
|
|
Flush ( ) : void |
This is a no-op.
|
|
PutNextEntry ( String entryName ) : |
Specify the name of the next entry that will be written to the zip file. Call this method just before calling Write(byte[], int, int), to specify the name of the entry that the next set of bytes written to the If the entryName used in If you don't call Because This method returns the |
|
Read ( byte buffer, int offset, int count ) : int |
This method always throws a NotSupportedException.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
This method always throws a NotSupportedException.
|
|
SetLength ( long value ) : void |
This method always throws a NotSupportedException.
|
|
ToString ( ) : String |
Provides a string representation of the instance. This can be useful for debugging purposes. |
|
Write ( byte buffer, int offset, int count ) : void |
Write the data from the buffer to the stream. As the application writes data into this stream, the data may be compressed and encrypted before being written out to the underlying stream, depending on the settings of the CompressionLevel and the Encryption properties. |
|
ZipOutputStream ( Stream stream ) : System |
Create a ZipOutputStream, wrapping an existing stream. The ZipFile class is generally easier to use when creating zip files. The ZipOutputStream offers a different metaphor for creating a zip file, based on the System.IO.Stream class. |
|
ZipOutputStream ( Stream stream, bool leaveOpen ) : System |
Create a ZipOutputStream. See the documentation for the |
|
ZipOutputStream ( String fileName ) : System |
Create a ZipOutputStream that writes to a filesystem file. The ZipFile class is generally easier to use when creating zip files. The ZipOutputStream offers a different metaphor for creating a zip file, based on the System.IO.Stream class. |
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose the stream This method writes the Zip Central directory, then closes the stream. The application must call Dispose() (or Close) in order to produce a valid zip file. Typically the application will call |
메소드 | 설명 | |
---|---|---|
InsureUniqueEntry ( |
||
_FinishCurrentEntry ( ) : void | ||
_Init ( Stream stream, bool leaveOpen, string name ) : void | ||
_InitiateCurrentEntry ( bool finishing ) : void |
public ContainsEntry ( string name ) : bool | ||
name | string | /// The name of the entry to scan for. /// |
리턴 | bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | set this to true, always. |
리턴 | void |
public PutNextEntry ( String entryName ) : |
||
entryName | String | /// The name of the entry to be added, including any path to be used /// within the zip file. /// |
리턴 |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | ignored |
offset | int | ignored |
count | int | ignored |
리턴 | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | ignored |
origin | SeekOrigin | ignored |
리턴 | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | The buffer holding data to write to the stream. |
offset | int | the offset within that data array to find the first byte to write. |
count | int | the number of bytes to write. |
리턴 | void |
public ZipOutputStream ( Stream stream ) : System | ||
stream | Stream | /// The stream to wrap. It must be writable. This stream will be closed at /// the time the ZipOutputStream is closed. /// |
리턴 | System |
public ZipOutputStream ( Stream stream, bool leaveOpen ) : System | ||
stream | Stream | /// The stream to wrap. It must be writable. /// |
leaveOpen | bool |
/// true if the application would like the stream
/// to remain open after the |
리턴 | System |
public ZipOutputStream ( String fileName ) : System | ||
fileName | String | /// The name of the zip file to create. /// |
리턴 | System |