Converts bytes of the number Int32 into the array of bytes.
            
    Namespace: 
   SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
| C# | 
|---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void ToByteArray( int value, byte[] buffer, int offset, XByteOrder order )  | 
Parameters
- value
 - Type: System..::.Int32
A value. 
- buffer
 - Type: array<
            System..::.Byte
          >[]()[]
The array of bytes. 
- offset
 - Type: System..::.Int32
The beginning. 
- order
 - Type: SGP.XUtility..::.XByteOrder
The byte order. 
Remarks
            Writes 4 bytes of the number Int32 into a array. 
            
Exceptions
| Exception | Condition | 
|---|---|
| System..::.ArgumentNullException | buffer is nullNothingnullptra null reference (Nothing in Visual Basic). |