BitConverter

Overview

Location

 

constructor  protected

 

constructor

 

BitConverter()

 

init()

 

BitConverter()

 

Sub New()

DoubleToInt64Bits

 

class method DoubleToInt64Bits(value: Double): Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

static func DoubleToInt64Bits(_ value: Double) -> Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

Shared Function DoubleToInt64Bits(value As Double) As Int64

Parameters:

  • value:

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetBits<T>

 

class method GetBits<T>(value: T): array of Byte

 

static Byte[] GetBits<T>(T value)

 

static func GetBits<T>(_ value: T) -> Byte...

 

static Byte[] GetBits<T>(T value)

 

Shared Function GetBits<T>(value As T) As Byte()

Parameters:

  • value:

GetBytes<T>

 

class method GetBytes<T>(value: T): array of Byte

 

static Byte[] GetBytes<T>(T value)

 

static func GetBytes<T>(_ value: T) -> Byte...

 

static Byte[] GetBytes<T>(T value)

 

Shared Function GetBytes<T>(value As T) As Byte()

Parameters:

  • value:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Int64BitsToDouble

 

class method Int64BitsToDouble(value: Int64): Double

 

static Double Int64BitsToDouble(Int64 value)

 

static func Int64BitsToDouble(_ value: Int64) -> Double

 

static Double Int64BitsToDouble(Int64 value)

 

Shared Function Int64BitsToDouble(value As Int64) As Double

Parameters:

  • value:

IsLittleEndian

 

class var IsLittleEndian: Boolean;

 

static Boolean IsLittleEndian

 

static var IsLittleEndian: Boolean

 

static Boolean IsLittleEndian

 

Shared FIELD IsLittleEndian() As Boolean

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

ToString (array of Byte, Int32, Int32): String

 

class method ToString(value: array of Byte; startIndex: Int32; length: Int32): String

 

static String ToString(Byte[] value, Int32 startIndex, Int32 length)

 

static func ToString(_ value: Byte..., _ startIndex: Int32, _ length: Int32) -> String

 

static String ToString(Byte[] value, Int32 startIndex, Int32 length)

 

Shared Function ToString(value As Byte(), startIndex As Int32, length As Int32) As String

Parameters:

  • value:
  • startIndex:
  • length:

ToValue<T>

 

class method ToValue<T>(value: array of Byte): T

 

static T ToValue<T>(Byte[] value)

 

static func ToValue<T>(_ value: Byte...) -> T

 

static T ToValue<T>(Byte[] value)

 

Shared Function ToValue<T>(value As Byte()) As T

Parameters:

  • value:

 

IsLittleEndian

 

class var IsLittleEndian: Boolean;

 

static Boolean IsLittleEndian

 

static var IsLittleEndian: Boolean

 

static Boolean IsLittleEndian

 

Shared FIELD IsLittleEndian() As Boolean

 

DoubleToInt64Bits

 

class method DoubleToInt64Bits(value: Double): Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

static func DoubleToInt64Bits(_ value: Double) -> Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

Shared Function DoubleToInt64Bits(value As Double) As Int64

Parameters:

  • value:

GetBits<T>

 

class method GetBits<T>(value: T): array of Byte

 

static Byte[] GetBits<T>(T value)

 

static func GetBits<T>(_ value: T) -> Byte...

 

static Byte[] GetBits<T>(T value)

 

Shared Function GetBits<T>(value As T) As Byte()

Parameters:

  • value:

GetBytes<T>

 

class method GetBytes<T>(value: T): array of Byte

 

static Byte[] GetBytes<T>(T value)

 

static func GetBytes<T>(_ value: T) -> Byte...

 

static Byte[] GetBytes<T>(T value)

 

Shared Function GetBytes<T>(value As T) As Byte()

Parameters:

  • value:

Int64BitsToDouble

 

class method Int64BitsToDouble(value: Int64): Double

 

static Double Int64BitsToDouble(Int64 value)

 

static func Int64BitsToDouble(_ value: Int64) -> Double

 

static Double Int64BitsToDouble(Int64 value)

 

Shared Function Int64BitsToDouble(value As Int64) As Double

Parameters:

  • value:

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

ToString (array of Byte, Int32, Int32): String

 

class method ToString(value: array of Byte; startIndex: Int32; length: Int32): String

 

static String ToString(Byte[] value, Int32 startIndex, Int32 length)

 

static func ToString(_ value: Byte..., _ startIndex: Int32, _ length: Int32) -> String

 

static String ToString(Byte[] value, Int32 startIndex, Int32 length)

 

Shared Function ToString(value As Byte(), startIndex As Int32, length As Int32) As String

Parameters:

  • value:
  • startIndex:
  • length:

ToValue<T>

 

class method ToValue<T>(value: array of Byte): T

 

static T ToValue<T>(Byte[] value)

 

static func ToValue<T>(_ value: Byte...) -> T

 

static T ToValue<T>(Byte[] value)

 

Shared Function ToValue<T>(value As Byte()) As T

Parameters:

  • value:

 

constructor  protected

 

constructor

 

BitConverter()

 

init()

 

BitConverter()

 

Sub New()

Equals  virtual    (declared in Object)

Default constructor.

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String