ByteN Structure

Represents an 8-bit unsigned integer.

Definition

Namespace: Jodosoft.Numerics
Assembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
[SerializableAttribute]
public readonly struct ByteN : INumericExtended<ByteN>, 
	INumeric<ByteN>, IComparable, IComparable<ByteN>, 
	IEquatable<ByteN>, IFormattable, IProvider<IBinaryIO<ByteN>>, 
	IProvider<IConvert<ByteN>>, IProvider<IMath<ByteN>>, 
	IProvider<INumericBitConverter<ByteN>>, IProvider<INumericRandom<ByteN>>, 
	IProvider<INumericStatic<ByteN>>, IProvider<IVariantRandom<ByteN>>, 
	ISerializable, IConvertible, IProvider<IConvertExtended<ByteN>>
Inheritance
Object    ValueType    ByteN
Implements
INumericByteN, INumericExtendedByteN, IProviderIBinaryIOByteN, IProviderIConvertByteN, IProviderIMathByteN, IProviderINumericBitConverterByteN, IProviderINumericRandomByteN, IProviderINumericStaticByteN, IProviderIVariantRandomByteN, IProviderIConvertExtendedByteN, IComparable, IComparableByteN, IConvertible, IEquatableByteN, IFormattable, ISerializable

Methods

Operators

Fields

Extension Methods

ToTypeDefault Converts the value of this instance to an Object of the specified Type by calling one of the named conversions from IConvertible, such as ToChar(IFormatProvider) or ToDouble(IFormatProvider).
(Defined by ConvertibleExtensions)

Explicit Interface Implementations

IConvertibleGetTypeCodeReturns the TypeCode for this instance.
IConvertibleToBooleanConverts the value of this instance to an equivalent Boolean value using the specified culture-specific formatting information.
IConvertibleToByteConverts the value of this instance to an equivalent 8-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToCharConverts the value of this instance to an equivalent Unicode character using the specified culture-specific formatting information.
IConvertibleToDateTimeConverts the value of this instance to an equivalent DateTime using the specified culture-specific formatting information.
IConvertibleToDecimalConverts the value of this instance to an equivalent Decimal number using the specified culture-specific formatting information.
IConvertibleToDoubleConverts the value of this instance to an equivalent double-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToInt16Converts the value of this instance to an equivalent 16-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt32Converts the value of this instance to an equivalent 32-bit signed integer using the specified culture-specific formatting information.
IConvertibleToInt64Converts the value of this instance to an equivalent 64-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSByteConverts the value of this instance to an equivalent 8-bit signed integer using the specified culture-specific formatting information.
IConvertibleToSingleConverts the value of this instance to an equivalent single-precision floating-point number using the specified culture-specific formatting information.
IConvertibleToTypeConverts the value of this instance to an Object of the specified Type that has an equivalent value, using the specified culture-specific formatting information.
IConvertibleToUInt16Converts the value of this instance to an equivalent 16-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt32Converts the value of this instance to an equivalent 32-bit unsigned integer using the specified culture-specific formatting information.
IConvertibleToUInt64Converts the value of this instance to an equivalent 64-bit unsigned integer using the specified culture-specific formatting information.
INumericByteNAdd Computes the sum of the current value and the specified value.
INumericByteNBitwiseComplement Produces a bitwise complement of the current value by reversing each bit.
INumericByteNDivide Divides the current value by the specified value.
INumericByteNIsGreaterThan Determines whether the current value is greater than the specified value.
INumericByteNIsGreaterThanOrEqualTo Determines whether the current value is greater than or equal to the specified value.
INumericByteNIsLessThan Determines whether the current value is less than the specified value.
INumericByteNIsLessThanOrEqualTo Determines whether the current value is less than or equal to the specified value.
INumericByteNLeftShift

Shifts the current value left by the specified number of bits.

Discards the high-order bits that are outside the range of the result type and sets the low-order empty bit positions to zero.

INumericByteNLogicalAnd Computes the bitwise logical AND of the current value and the specified value.
INumericByteNLogicalExclusiveOr Computes the bitwise logical exclusive OR, also known as the bitwise logical XOR, of the current value and the specified value.
INumericByteNLogicalOr Computes the bitwise logical OR of the current value and the specified value.
INumericByteNMultiply Computes the product of the current value and the specified value.
INumericByteNNegative Computes the numeric negation of the current value.
INumericByteNPositive Returns the current value.
INumericByteNRemainder Computes the remainder after dividing the current value by the specified value.
INumericByteNRightShift

Shifts the current value right by the specified number of bits.

Performs an signed (arithmetic) shift if TSelf is signed; otherwise sets the high-order bits to zero. Discards the low-order bits.

INumericByteNSubtract Subtracts the specified value from the current value.
IProviderIConvertByteNGetInstance Returns an instance of T.
IProviderIConvertExtendedByteNGetInstance Returns an instance of T.
IProviderIMathByteNGetInstance Returns an instance of T.
IProviderINumericBitConverterByteNGetInstance Returns an instance of T.
IProviderINumericRandomByteNGetInstance Returns an instance of T.
IProviderINumericStaticByteNGetInstance Returns an instance of T.
IProviderIBinaryIOByteNGetInstance Returns an instance of T.
IProviderIVariantRandomByteNGetInstance Returns an instance of T.
ISerializableGetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object.

See Also