BitConverter

Overview

Location

  • Reference: Island.fx
  • Namespace: RemObjects.Elements.System
  • Platforms: Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-arm64_32, watchOS-armv7k, WebAssembly, Windows

 

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)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

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:

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)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

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