MfByteList

Namespace ›› System ››
Parent Previous Next

MfByteList Class

(Inherits from MfListBase)

MfByteList is a sealed class that exposes methods and properties used for list of byte values (0 - 255).

MfByteList is structured to work with bytes ( values between 0 and 255 ) only. For a list that is better suited for containing objects see MfList and MfGenericList.

Links

Properties, Methods, Remarks

Constructors


Name

Description

Constructor([Size, Default])

Initializes a new instance of the MfByteList class.

Properties


Name

Description

AutoIncrease

Gets or set a value indicating the list should Auto-Increase in size when Limit is reached.

Count

Gets a value indicating if the MfListBase number of Elements. Inherited from MfListBase

IsFixedSize

Gets a value indicating if the MfListBase has a fixed size. Inherited from MfListBase

IsReadOnly

Gets a value indicating if the MfListBase is read-only. Inherited from MfListBase

Item[index]

Gets or sets the element at the specified index. Overrides MfListBase.Item.

Methods


Name

Description

_NewEnum()

Returns a new enumerator to enumerate this object's key-value pairs. This method is usually not called directly, but by the for-loop or by GetEnumerator(). Inherited from MfListBase

Add(obj)

Adds a nibble element to the end of the current instance.. Overrides MfListBase.Add()

Clear()

Removes all elements from the instance and sets Count to Zero. Inherited from MfListBase

Clone()

Clones all the elements of the current instance an return  a new instance. Overrides MfListBase.Clone().

CompareTo()

Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. Inherited from MfObject.

Contains(obj)

Determines whether the MfByteList contains a specific element. Overrides MfListBase.Contains()

Equals(obj)

Compares obj to current instance to see if they are the same. Inherited from MfObject.

GetEnumerator()

Gets an enumerator. Inherited from MfEnumerableBase

IndexOf(obj)

Searches for the specified var or object and returns the index of the first occurrence within the entire instance. Overrides MfListBase.IndexOf()

Insert(index, value)

Inserts an integer byte value into the MfByteList instance at the specified index.
Overrides MfListBase.Insert()

GetType()

Gets the Type for the for the Class .Inherited from MfObject.

Is(type)

Gets if current instance of object is of the same type. Inherited from MfObject. Inherited from MfObject.

IsInstance()

Get if the current class is an instance. Inherited from MfObject.

LastIndexOf(obj)

Searches for the specified object or var and returns the index of the last occurrence within the entire instance. Inherited from MfListBase

MemberwiseClone()

Creates a shallow copy of the current MfObject instance. Inherited from MfObject.

Remove(obj)

Removes the first occurrence of a specific object from the instance. Inherited from MfListBase

RemoveAt(index)

Removes the item at the specified index. Inherited from MfListBase

SubList([startIndex, endIndex, leftToRight])

Method extracts the elements from list, between two specified indices, and returns the a new list.

ToArray()

Returns a One-Based AutoHotkey array representing all the elements in the current instance. Inherited from MfListBase

ToString(([returnAsObj, startIndex, count, format])

Gets a string representation of the object elements.
Overrides MfListBase.ToString()

Since

Version 0.4

Remarks

By Default MfByteList is set up to work in Little-Endian format. Methods affected by this are SubList() and ToString(). These method can override the order of their output.