Mono Class Library: System.BitConverter Overview | Members

System.BitConverter.GetBytes Method

Returns the binary representation of the double value

public static byte[] GetBytes (double value)

Parameters

value
The value to convert in binary data

Returns

The binary representation of the value as an Array of bytes

Remarks

Returns 8 bytes (64-bit double-precision floating-point number, see double)

Requirements

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