GetBytes() public method

public GetBytes ( double value ) : byte[]
value double
return byte[]
Beispiel #1
0
 public static void WriteInt(this Stream stream, int n)
 {
     byte [] bytes = converter.GetBytes(n);
     stream.Write(bytes, 0, bytes.Length);
 }