.


:




:

































 

 

 

 


Public static readonly bool IsLittleEndian




true, , . . , , IsLittleEndian false. . Intel Pentium .

21.13. , BitConverter

public static long value

DoubleToInt64Bits (double long

value)

public static byte [ ] value

GetBytes (bool value)

public static byte [ ] value

GetBytes (char value)

public static byte [ ] value

GetBytes (double value)

public static byte [ ] value

GetBytes (float value)

public static byte [ ] value

GetBytes (int value)

public static byte [ ] value

GetBytes (long value)

public static byte [ ] value

GetBytes (short value)

public static byte [ ] value

GetBytes (uint value)

public static byte [ ] value

GetBytes (ulong value) _ _

 

 

 

public static byte[]

 

value

 

GetBytes(ushort value)

 

 

Public static double

 

value double

 

Int64BitsToDouble(long

 

 

value)

Public static bool

 

,

 

ToBoolean(byte[] value,

 

value [startlndex],

 

int startlndex)

 

bool .

 

Public static char

 

true, false ,

 

ToChar(byte[] value , int

 

value [ index], char

 

index)

 

 

Public static double

 

,

 

ToDouble(byte[] value,

 

value [startlndex],

 

int startlndex)

 

double

 

Public static short

 

,

 

Tolntl6(byte[] value,

 

value [startlndex],

 

int startlndex)

 

short

 

Public static int

 

,

 

ToInt32(byte[] value,

 

value [startlndex],

 

int startlndex)

 

int

 

Public static long

 

,

 

ToInt64(byte[] value,

 

value [startlndex],

 

int startlndex)

 

long

 

Public static float

 

,

 

ToSingle(byte[] value,

 

value [startlndex],

 

int startlndex)

 

float

 

Public static string

 

value

 

ToString(byte[] value)

 

. ,

 

Public static string

 

value

 

ToString(byte[] value,

 

, value[startindex].

 

int startlndex)

 

,

 

Public static string

 

value

 

ToString(byte[] value,

 

, value [ startlndex]

 

int startlndex, int

 

,

 

length)

 

length. ,

 

Public static ushort

 

,

 

ToUIntl6(byte[] value,

 

value [startlndex],

 

int startlndex)

 

ushort

 

Public static uint

 

,

 

ToUInt32(byte[] value,

 

value[startlndex],

 

int startlndex)

 

uint

 

 

 

Public static ulong

 

,

 

ToUInt64(byte [] value,

 

value[startlndex ],

 

int startlndex)

 

ulong

 

Random

Random. , . , .





:


: 2016-12-03; !; : 351 |


:

:

, , . , .
==> ...

1805 - | 1653 -


© 2015-2024 lektsii.org - -

: 0.018 .