Mono Class Library: System.BitConverter Overview | Members

System.BitConverter.GetBytes Method

Returns the binary representation of the long value [Edit]

public static byte[] GetBytes (long 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 8 bytes (64-bits signed integer, see long) [Edit]

Requirements

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