WordExtensions Class

Defines extension functions related to 16-bit words, 32-bit double-words and 64-bit quad-words.

Definition

Namespace: Gemstone.WordExtensions
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
public static class WordExtensions
Inheritance
Object    WordExtensions

Methods

AlignDoubleWord(Int32) Aligns double-word length value to a 32-bit boundary.
AlignDoubleWord(UInt32) Aligns double-word length value to a 32-bit boundary.
AlignQuadWord(Int64) Aligns quad-word length value to a 64-bit boundary.
AlignQuadWord(UInt64) Aligns quad-word length value to a 64-bit boundary.
AlignWord(Int16) Aligns word length value to a 16-bit boundary.
AlignWord(UInt16) Aligns word length value to a 16-bit boundary.
HighByte Returns the high-byte from an unsigned word (UInt16).
HighDoubleWord Returns the unsigned high-double-word (UInt32) from an unsigned quad-word (UInt64).
HighNibble Returns the high-nibble (high 4-bits) from a byte.
HighWord Returns the unsigned high-word (UInt16) from an unsigned double-word (UInt32).
LowByte Returns the low-byte from an unsigned word (UInt16).
LowDoubleWord Returns the unsigned low-double-word (UInt32) from an unsigned quad-word (UInt64).
LowNibble Returns the low-nibble (low 4-bits) from a byte.
LowWord Returns the unsigned low-word (UInt16) from an unsigned double-word (UInt32).

See Also