C# Class ICSharpCode.SharpZipLib.Zip.ZipConstants

This class contains constants used for Zip format files
Mostrar archivo Open project: icsharpcode/SharpZipLib Class Usage Examples

Public Methods

Method Description
ConvertToArray ( int flags, string str ) : byte[]

Convert a string to a byte array

ConvertToArray ( string str ) : byte[]

Convert a string to a byte array

ConvertToString ( byte data ) : string

Convert a byte array to string

ConvertToString ( byte data, int count ) : string

Convert a portion of a byte array to a string.

ConvertToStringExt ( int flags, byte data ) : string

Convert a byte array to string

ConvertToStringExt ( int flags, byte data, int count ) : string

Convert a byte array to string

ZipConstants ( ) : System

Initialise default instance of ZipConstants

Private to prevent instances being created.

Method Details

ConvertToArray() public static method

Convert a string to a byte array
public static ConvertToArray ( int flags, string str ) : byte[]
flags int The applicable general purpose bits flags
str string /// String to convert to an array ///
return byte[]

ConvertToArray() public static method

Convert a string to a byte array
public static ConvertToArray ( string str ) : byte[]
str string /// String to convert to an array ///
return byte[]

ConvertToString() public static method

Convert a byte array to string
public static ConvertToString ( byte data ) : string
data byte /// Byte array to convert ///
return string

ConvertToString() public static method

Convert a portion of a byte array to a string.
public static ConvertToString ( byte data, int count ) : string
data byte /// Data to convert to string ///
count int /// Number of bytes to convert starting from index 0 ///
return string

ConvertToStringExt() public static method

Convert a byte array to string
public static ConvertToStringExt ( int flags, byte data ) : string
flags int The applicable general purpose bits flags
data byte /// Byte array to convert ///
return string

ConvertToStringExt() public static method

Convert a byte array to string
public static ConvertToStringExt ( int flags, byte data, int count ) : string
flags int The applicable general purpose bits flags
data byte /// Byte array to convert ///
count int The number of bytes to convert.
return string

ZipConstants() public method

Initialise default instance of ZipConstants
Private to prevent instances being created.
public ZipConstants ( ) : System
return System