BitConverterGetBytes Method (Int32) |
Returns the specified 32-bit signed integer value as an array of bytes.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static byte[] GetBytes(
int value
)
Parameters
- value
- Type: SystemInt32
The number to convert.
Return Value
Type:
ByteAn array of bytes with length 4.
See Also