Show / Hide Table of Contents

Class ZipStrings

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Inheritance
System.Object
ZipStrings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ICSharpCode.SharpZipLib.Zip
Assembly: ICSharpCode.SharpZipLib.dll
Syntax
public static class ZipStrings
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

Properties

| Improve this Doc View Source

CodePage

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static int CodePage { get; set; }
Property Value
Type Description
System.Int32
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

SystemDefaultCodePage

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static int SystemDefaultCodePage { get; }
Property Value
Type Description
System.Int32
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

UseUnicode

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static bool UseUnicode { get; set; }
Property Value
Type Description
System.Boolean
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

Methods

| Improve this Doc View Source

ConvertToArray(Int32, String)

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static byte[] ConvertToArray(int flags, string str)
Parameters
Type Name Description
System.Int32 flags
System.String str
Returns
Type Description
System.Byte[]
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

ConvertToArray(String)

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static byte[] ConvertToArray(string str)
Parameters
Type Name Description
System.String str
Returns
Type Description
System.Byte[]
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

ConvertToString(Byte[])

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static string ConvertToString(byte[] data)
Parameters
Type Name Description
System.Byte[] data
Returns
Type Description
System.String
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

ConvertToString(Byte[], Int32)

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static string ConvertToString(byte[] data, int count)
Parameters
Type Name Description
System.Byte[] data
System.Int32 count
Returns
Type Description
System.String
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

ConvertToStringExt(Int32, Byte[])

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static string ConvertToStringExt(int flags, byte[] data)
Parameters
Type Name Description
System.Int32 flags
System.Byte[] data
Returns
Type Description
System.String
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

ConvertToStringExt(Int32, Byte[], Int32)

Deprecated way of setting zip encoding provided for backwards compability. Use StringCodec when possible.

Declaration
[Obsolete("Use ZipFile/Zip*Stream StringCodec instead")]
public static string ConvertToStringExt(int flags, byte[] data, int count)
Parameters
Type Name Description
System.Int32 flags
System.Byte[] data
System.Int32 count
Returns
Type Description
System.String
Remarks

If any ZipStrings properties are being modified, it will enter a backwards compatibility mode, mimicking the old behaviour where a single instance was shared between all Zip* instances.

| Improve this Doc View Source

GetStringCodec()

Returns a new StringCodec instance or the shared backwards compatible instance.

Declaration
public static StringCodec GetStringCodec()
Returns
Type Description
StringCodec
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2000-2022 SharpZipLib Contributors