EndianBitConverterGetBytes Method (Single) |
Returns the specified single-precision floating point 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(
float value
)
Public Function GetBytes (
value As Single
) As Byte()
public:
array<unsigned char>^ GetBytes(
float value
)
member GetBytes :
value : float32 -> byte[]
Parameters
- value
- Type: SystemSingle
The number to convert.
Return Value
Type:
ByteAn array of bytes with length 4.
See Also