Click or drag to resize
PackedInt32 Structure
Represents a 32-bit signed integer value composed of smaller integer values.

Namespace: CodeTiger
Assembly: CodeTiger.Core (in CodeTiger.Core.dll) Version: 1.0.0.0
Syntax
public struct PackedInt32

The PackedInt32 type exposes the following members.

Constructors
  NameDescription
Public methodPackedInt32(Byte)
Initializes a new instance of the PackedInt32 structure to the packed value of an array of four Byte values.
Public methodPackedInt32(Int16)
Initializes a new instance of the PackedInt32 structure to the packed value of an array of two Int16 values.
Public methodPackedInt32(Int32)
Initializes a new instance of the PackedInt32 structure to a specified packed value.
Public methodPackedInt32(Int16, Int16)
Initializes a new instance of the PackedInt32 structure to the packed value of two Int16 values.
Top
Methods
  NameDescription
Public methodEquals(Object)
Determines whether this PackedInt32 value is equal to another object.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(PackedInt32)
Determines whether this PackedInt32 value is equal to another PackedInt32 value.
Public methodGetByteValues
Gets the individual Byte values that make up this 32-bit value.
Public methodGetHashCode
Returns a hash code for this value.
(Overrides ValueTypeGetHashCode.)
Public methodGetInt16Values
Gets the individual Int16 values that make up this 32-bit value.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToInt32
Converts the value of this PackedInt32 value to an equivalent Int32 value.
Public methodToString
Converts this PackedInt32 value to its equivalent string representation.
(Overrides ValueTypeToString.)
Public methodToString(IFormatProvider)
Converts this PackedInt32 value to its equivalent string representation using provided culture-specific format information.
Public methodToString(String)
Converts this PackedInt32 value to its equivalent string representation using a specified format.
Public methodToString(String, IFormatProvider)
Converts this PackedInt32 value to its equivalent string representation using a specified format and provided culture-specific format information.
Public methodWithLowerInt16
Returns a new PackedInt32 value equivalent to this instance with its lower 16 bits set to a given Int16 value.
Public methodWithUpperInt16
Returns a new PackedInt32 value equivalent to this instance with its upper 16 bits set to a given Int16 value.
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Determines whether two PackedInt32 values are equal.
Public operatorStatic member(Int32 to PackedInt32)
Defines an implicit conversion of an Int32 value to a PackedInt32 value.
Public operatorStatic member(PackedInt32 to Int32)
Defines an implicit conversion of a PackedInt32 value to an Int32 value.
Public operatorStatic memberInequality
Determines whether two PackedInt32 values are not equal.
Top
Properties
  NameDescription
Public propertyLowerInt16
Gets the Int16 value from the lower 16 bits of this 32-bit value.
Public propertyUpperInt16
Gets the Int16 value from the upper 16 bits of this 32-bit value.
Public propertyValue
Gets the underlying Int32 value.
Top
See Also