Represents a string from a ZipFile which is stored as an array of bytes.
More...
|
| | ZipString (string comment) |
| | Initialise a ZipString with a string.
|
| | ZipString (byte[] rawString) |
| | Initialise a ZipString using a string in its binary 'raw' form.
|
| void | Reset () |
| | Reset the comment to its initial state.
|
|
| bool | IsSourceString [get] |
| | Get a value indicating the original source of data for this instance. True if the source was a string; false if the source was binary data.
|
| int | RawLength [get] |
| | Get the length of the comment when represented as raw bytes.
|
| byte[] | RawComment [get] |
| | Get the comment in its 'raw' form as plain bytes.
|
Represents a string from a ZipFile which is stored as an array of bytes.
◆ ZipString() [1/2]
| ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.ZipString |
( |
string | comment | ) |
|
Initialise a ZipString with a string.
- Parameters
-
| comment | The textual string form. |
◆ ZipString() [2/2]
| ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.ZipString |
( |
byte[] | rawString | ) |
|
Initialise a ZipString using a string in its binary 'raw' form.
- Parameters
-
◆ MakeBytesAvailable()
| void ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.MakeBytesAvailable |
( |
| ) |
|
|
private |
◆ MakeTextAvailable()
| void ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.MakeTextAvailable |
( |
| ) |
|
|
private |
◆ operator string()
| implicit ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.operator string |
( |
ZipString | zipString | ) |
|
|
static |
Implicit conversion of comment to a string.
- Parameters
-
| zipString | The ZipString to convert to a string. |
- Returns
- The textual equivalent for the input value.
◆ Reset()
| void ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.Reset |
( |
| ) |
|
Reset the comment to its initial state.
◆ comment_
| string ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.comment_ |
|
private |
◆ isSourceString_
| bool ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.isSourceString_ |
|
private |
◆ rawComment_
| byte [] ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.rawComment_ |
|
private |
◆ IsSourceString
| bool ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.IsSourceString |
|
get |
Get a value indicating the original source of data for this instance. True if the source was a string; false if the source was binary data.
◆ RawComment
| byte [] ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.RawComment |
|
get |
Get the comment in its 'raw' form as plain bytes.
◆ RawLength
| int ICSharpCode.SharpZipLib.Zip.ZipFile.ZipString.RawLength |
|
get |
Get the length of the comment when represented as raw bytes.
The documentation for this class was generated from the following file: