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()

DoubleToInt64Bits

 

class method DoubleToInt64Bits(value: Double): Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

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

 

static Int64 DoubleToInt64Bits(Double value)

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)

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()

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)

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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Int64BitsToDouble

 

class method Int64BitsToDouble(value: Int64): Double

 

static Double Int64BitsToDouble(Int64 value)

 

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

 

static Double Int64BitsToDouble(Int64 value)

Parameters:

  • value:

IsLittleEndian

 

class var IsLittleEndian: Boolean;

 

static Boolean IsLittleEndian

 

static var IsLittleEndian: Boolean

 

static Boolean IsLittleEndian

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)

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()

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)

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)

Parameters:

  • value:

 

IsLittleEndian

 

class var IsLittleEndian: Boolean;

 

static Boolean IsLittleEndian

 

static var IsLittleEndian: Boolean

 

static Boolean IsLittleEndian

 

DoubleToInt64Bits

 

class method DoubleToInt64Bits(value: Double): Int64

 

static Int64 DoubleToInt64Bits(Double value)

 

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

 

static Int64 DoubleToInt64Bits(Double value)

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)

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)

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)

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)

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)

Parameters:

  • value:

 

constructor  protected

 

constructor

 

BitConverter()

 

init()

 

BitConverter()

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)

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()

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()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()