Table of Contents

Class SupportClass

Namespace
ZXing
Assembly
zxing.dll

Contains conversion support elements such as classes, interfaces and static methods.

public static class SupportClass
Inheritance
SupportClass
Inherited Members

Methods

Fill<T>(T[], int, int, T)

Fills the specified array. (can't use extension method because of .Net 2.0 support)

public static void Fill<T>(T[] array, int startIndex, int endIndex, T value)

Parameters

array T[]

The array.

startIndex int

The start index.

endIndex int

The end index.

value T

The value.

Type Parameters

T

Fill<T>(T[], T)

Fills the specified array. (can't use extension method because of .Net 2.0 support)

public static void Fill<T>(T[] array, T value)

Parameters

array T[]

The array.

value T

The value.

Type Parameters

T

GetCharsFromString(string, int, int, char[], int)

Copies an array of chars obtained from a String into a specified array of chars

public static void GetCharsFromString(string sourceString, int sourceStart, int sourceEnd, char[] destinationArray, int destinationStart)

Parameters

sourceString string

The String to get the chars from

sourceStart int

Position of the String to start getting the chars

sourceEnd int

Position of the String to end getting the chars

destinationArray char[]

Array to return the chars

destinationStart int

Position of the destination array of chars to start storing the chars

GetValue<T>(IDictionary<DecodeHintType, object>, DecodeHintType, T)

Savely gets the value of a decoding hint if hints is null the default is returned

public static T GetValue<T>(IDictionary<DecodeHintType, object> hints, DecodeHintType hintType, T @default)

Parameters

hints IDictionary<DecodeHintType, object>

The hints.

hintType DecodeHintType

Type of the hint.

default T

The @default.

Returns

T

Type Parameters

T

Join<T>(string, IEnumerable<T>)

Joins all elements to one string.

public static string Join<T>(string separator, IEnumerable<T> values)

Parameters

separator string

The separator.

values IEnumerable<T>

The values.

Returns

string

Type Parameters

T

SetCapacity<T>(IList<T>, int)

Sets the capacity for the specified List

public static void SetCapacity<T>(IList<T> vector, int newCapacity) where T : new()

Parameters

vector IList<T>

The List which capacity will be set

newCapacity int

The new capacity value

Type Parameters

T

ToBinaryString(int)

public static string ToBinaryString(int x)

Parameters

x int

Returns

string

bitCount(int)

public static int bitCount(int n)

Parameters

n int

Returns

int

toStringArray(ICollection<string>)

Converts a string-Collection to an array

public static string[] toStringArray(ICollection<string> strings)

Parameters

strings ICollection<string>

The strings.

Returns

string[]