ArrayExtensions Class

Defines extension functions related to Array manipulation.

Definition

Namespace: Gemstone.ArrayExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static class ArrayExtensions
Inheritance
Object    ArrayExtensions

Methods

BlockCopyT Returns a copy of the specified portion of the array array.
Combine(Byte) Combines an array of buffers together as a single image.
Combine(Byte, Byte, Byte) Combines buffers together as a single image.
Combine(Byte, Byte, Byte, Byte) Combines buffers together as a single image.
Combine(Byte, Byte, Byte, Byte, Byte) Combines buffers together as a single image.
CombineT(T) Combines array of arrays together into a single array.
CombineT(T, T) Combines arrays together into a single array.
CombineT(T, T, T) Combines arrays together into a single array.
CombineT(T, T, T, T) Combines arrays together into a single array.
CombineT(T, T, T, T, T) Combines arrays together into a single array.
CombineT(T, Int32, Int32, T, Int32, Int32) Combines specified portions of arrays together into a single array.
CompareToT(T, T)Returns comparison results of two binary arrays.
CompareToT(T, Int32, T, Int32, Int32) Returns comparison results of two binary arrays.
CountOfSequenceT(T, T) Searches for the specified sequenceToCount and returns the occurrence count within the array.
CountOfSequenceT(T, T, Int32) Searches for the specified sequenceToCount and returns the occurence count within the range of elements in the array that starts at the specified index.
CountOfSequenceT(T, T, Int32, Int32) Searches for the specified sequenceToCount and returns the occurrence count within the range of elements in the array that starts at the specified index and contains the specified number of elements.
IndexOfSequenceT(T, T) Searches for the specified sequenceToFind and returns the index of the first occurrence within the array.
IndexOfSequenceT(T, T, Int32) Searches for the specified sequenceToFind and returns the index of the first occurrence within the range of elements in the array that starts at the specified index.
IndexOfSequenceT(T, T, Int32, Int32) Searches for the specified sequenceToFind and returns the index of the first occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.
ReadStructureT(BinaryReader) Reads a structure from a BinaryReader.
ReadStructureT(Byte) Reads a structure from a byte array.
ValidateParametersT Validates that the specified startIndex and length are valid within the given array.
ZeroT Zero the given buffer in a way that will not be optimized away.

See Also