EndianBitConverterGetBytes Method (Int32) |
Returns the specified 32-bit signed integer value as an array of bytes.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public byte[] GetBytes(
int value
)
Public Function GetBytes (
value As Integer
) As Byte()
public:
array<unsigned char>^ GetBytes(
int value
)
member GetBytes :
value : int -> byte[]
Parameters
- value
- Type: SystemInt32
The number to convert.
Return Value
Type:
ByteAn array of bytes with length 4.
See Also