asp.net.ph

BitConverter Class

System Namespace


Converts base data types to an array of bytes, and an array of bytes to base data types.

BitConverter Class Members

Collapse   Fields

Visibility Name Type
public static IsLittleEndian Boolean

Collapse   Methods

Visibility Name Parameters Return Type
public static DoubleToInt64Bits ( Double value ) Int64
public static GetBytes ( UInt64 value ) Byte
public static GetBytes ( UInt32 value ) Byte
public static GetBytes ( Double value ) Byte
public static GetBytes ( Single value ) Byte
public static GetBytes ( UInt16 value ) Byte
public static GetBytes ( Char value ) Byte
public static GetBytes ( Boolean value ) Byte
public static GetBytes ( Int16 value ) Byte
public static GetBytes ( Int64 value ) Byte
public static GetBytes ( Int32 value ) Byte
public static Int64BitsToDouble ( Int64 value ) Double
public static ToBoolean ( Byte value , Int32 startIndex ) Boolean
public static ToChar ( Byte value , Int32 startIndex ) Char
public static ToDouble ( Byte value , Int32 startIndex ) Double
public static ToInt16 ( Byte value , Int32 startIndex ) Int16
public static ToInt32 ( Byte value , Int32 startIndex ) Int32
public static ToInt64 ( Byte value , Int32 startIndex ) Int64
public static ToSingle ( Byte value , Int32 startIndex ) Single
public static ToString ( Byte value , Int32 startIndex ) String
public static ToString ( Byte value ) String
public static ToString ( Byte value , Int32 startIndex , Int32 length ) String
public static ToUInt16 ( Byte value , Int32 startIndex ) UInt16
public static ToUInt32 ( Byte value , Int32 startIndex ) UInt32
public static ToUInt64 ( Byte value , Int32 startIndex ) UInt64

Remarks

This class facilitates manipulating value types in their fundamental form. A byte is defined as an 8-bit unsigned integer.

See Also

Byte Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph