Mono Class Library: System.BitConverter Overview | Members

System.BitConverter.GetBytes Method

Returns the binary representation of the float value [Edit]

public static byte[] GetBytes (float value)

Parameters

value
The value to convert in binary data [Edit]

Returns

The binary representation of the value as an Array of bytes [Edit]

Remarks

Returns 4 bytes (32-bit single-precision floating-point number, see float) [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0