Aigamo.Extensions.Primitives

Contents

BitExtensions type

Namespace

Aigamo.Extensions.Primitives

HighByte(value) method

Summary

Retrieves the high-order byte from the given 16-bit value.

Returns

The return value is the high-order byte of the specified value.

Parameters
Name Type Description
value System.UInt16 The value to be converted.

HighByte(value) method

Summary

Retrieves the high-order byte from the given 16-bit value.

Returns

The return value is the high-order byte of the specified value.

Parameters
Name Type Description
value System.Int16 The value to be converted.

HighUInt16(value) method

Summary

Retrieves the high-order 16-bit unsigned integer from the given 32-bit value.

Returns

The return value is the high-order 16-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.UInt32 The value to be converted.

HighUInt16(value) method

Summary

Retrieves the high-order 16-bit unsigned integer from the given 32-bit value.

Returns

The return value is the high-order 16-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.Int32 The value to be converted.

HighUInt32(value) method

Summary

Retrieves the high-order 32-bit unsigned integer from the given 64-bit value.

Returns

The return value is the high-order 32-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.UInt64 The value to be converted.

HighUInt32(value) method

Summary

Retrieves the high-order 32-bit unsigned integer from the given 64-bit value.

Returns

The return value is the high-order 32-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.Int64 The value to be converted.

LowByte(value) method

Summary

Retrieves the low-order byte from the given 16-bit value.

Returns

The return value is the low-order byte of the specified value.

Parameters
Name Type Description
value System.UInt16 The value to be converted.

LowByte(value) method

Summary

Retrieves the low-order byte from the given 16-bit value.

Returns

The return value is the low-order byte of the specified value.

Parameters
Name Type Description
value System.Int16 The value to be converted.

LowUInt16(value) method

Summary

Retrieves the low-order 16-bit unsigned integer from the given 32-bit value.

Returns

The return value is the low-order 16-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.UInt32 The value to be converted.

LowUInt16(value) method

Summary

Retrieves the low-order 16-bit unsigned integer from the given 32-bit value.

Returns

The return value is the low-order 16-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.Int32 The value to be converted.

LowUInt32(value) method

Summary

Retrieves the low-order 32-bit unsigned integer from the given 64-bit value.

Returns

The return value is the low-order 32-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.UInt64 The value to be converted.

LowUInt32(value) method

Summary

Retrieves the low-order 32-bit unsigned integer from the given 64-bit value.

Returns

The return value is the low-order 32-bit unsigned integer of the specified value.

Parameters
Name Type Description
value System.Int64 The value to be converted.

ToInt16(value) method

Summary

Creates a 16-bit signed integer value by concatenating the specified values.

Returns

The return value is a 16-bit signed integer value.

Parameters
Name Type Description
value System.ValueTuple{System.Byte,System.Byte} The value to be converted.

ToInt32(value) method

Summary

Creates a 32-bit signed integer value by concatenating the specified values.

Returns

The return value is a 32-bit signed integer value.

Parameters
Name Type Description
value System.ValueTuple{System.UInt16,System.UInt16} The value to be converted.

ToInt64(value) method

Summary

Creates a 64-bit signed integer value by concatenating the specified values.

Returns

The return value is a 64-bit signed integer value.

Parameters
Name Type Description
value System.ValueTuple{System.UInt32,System.UInt32} The value to be converted.

ToUInt16(value) method

Summary

Creates a 16-bit unsigned integer value by concatenating the specified values.

Returns

The return value is a 16-bit unsigned integer value.

Parameters
Name Type Description
value System.ValueTuple{System.Byte,System.Byte} The value to be converted.

ToUInt32(value) method

Summary

Creates a 32-bit unsigned integer value by concatenating the specified values.

Returns

The return value is a 32-bit unsigned integer value.

Parameters
Name Type Description
value System.ValueTuple{System.UInt16,System.UInt16} The value to be converted.

ToUInt64(value) method

Summary

Creates a 64-bit unsigned integer value by concatenating the specified values.

Returns

The return value is a 64-bit unsigned integer value.

Parameters
Name Type Description
value System.ValueTuple{System.UInt32,System.UInt32} The value to be converted.

WithHighByte(value,high) method

Summary

Joins two byte values and creates a 16-bit unsigned integer value.

Returns

return value is a 16-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt16 The lower part value to be joined.
high System.Byte The higher part value to be joined.

WithHighByte(value,high) method

Summary

Joins two byte values and creates a 16-bit signed integer value.

Returns

return value is a 16-bit signed integer value.

Parameters
Name Type Description
value System.Int16 The lower part value to be joined.
high System.Byte The higher part value to be joined.

WithHighUInt16(value,high) method

Summary

Joins two 16-bit unsigned integer values and creates a 32-bit unsigned integer value.

Returns

return value is a 32-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt32 The lower part value to be joined.
high System.UInt16 The higher part value to be joined.

WithHighUInt16(value,high) method

Summary

Joins two 16-bit unsigned integer values and creates a 32-bit signed integer value.

Returns

return value is a 32-bit signed integer value.

Parameters
Name Type Description
value System.Int32 The lower part value to be joined.
high System.UInt16 The higher part value to be joined.

WithHighUInt32(value,high) method

Summary

Joins two 32-bit unsigned integer values and creates a 64-bit unsigned integer value.

Returns

return value is a 64-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt64 The lower part value to be joined.
high System.UInt32 The higher part value to be joined.

WithHighUInt32(value,high) method

Summary

Joins two 32-bit unsigned integer values and creates a 64-bit signed integer value.

Returns

return value is a 64-bit signed integer value.

Parameters
Name Type Description
value System.Int64 The lower part value to be joined.
high System.UInt32 The higher part value to be joined.

WithLowByte(value,low) method

Summary

Joins two byte values and creates a 16-bit unsigned integer value.

Returns

return value is a 16-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt16 The higher part value to be joined.
low System.Byte The lower part value to be joined.

WithLowByte(value,low) method

Summary

Joins two byte values and creates a 16-bit signed integer value.

Returns

return value is a 16-bit signed integer value.

Parameters
Name Type Description
value System.Int16 The higher part value to be joined.
low System.Byte The lower part value to be joined.

WithLowUInt16(value,low) method

Summary

Joins two 16-bit unsigned integer values and creates a 32-bit unsigned integer value.

Returns

return value is a 32-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt32 The higher part value to be joined.
low System.UInt16 The lower part value to be joined.

WithLowUInt16(value,low) method

Summary

Joins two 16-bit unsigned integer values and creates a 32-bit signed integer value.

Returns

return value is a 32-bit signed integer value.

Parameters
Name Type Description
value System.Int32 The higher part value to be joined.
low System.UInt16 The lower part value to be joined.

WithLowUInt32(value,low) method

Summary

Joins two 32-bit unsigned integer values and creates a 64-bit unsigned integer value.

Returns

return value is a 64-bit unsigned integer value.

Parameters
Name Type Description
value System.UInt64 The higher part value to be joined.
low System.UInt32 The lower part value to be joined.

WithLowUInt32(value,low) method

Summary

Joins two 32-bit unsigned integer values and creates a 64-bit signed integer value.

Returns

return value is a 64-bit signed integer value.

Parameters
Name Type Description
value System.Int64 The higher part value to be joined.
low System.UInt32 The lower part value to be joined.