v2025.6.2
All Bundles

ByteRef

Holds an byte value

Operations

Clone

Clones the object instance

method : public : Clone() ~ System.ByteRef

Return

TypeDescription
ByteRefcloned the object instance

Compare

Compares two objects

method : public : native : Compare(rhs:System.Compare) ~ Int

Parameters

NameTypeDescription
rhsComparecompare object

Return

TypeDescription
Int0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater

FromArray

Creates an array of references from primitives

function : FromArray(input:Byte[]) ~ ByteRef[]

Parameters

NameTypeDescription
inputBytearray of primitives

Return

TypeDescription
ByteRefan array of references

Get

Get byte value

method : public : Get() ~ Byte

Return

TypeDescription
Bytebyte value

HashID

Returns a unique hash ID for a byte

method : public : HashID() ~ Int

Return

TypeDescription
Inthash ID

New

Default constructor

New()

New

Copy constructor

New(value:Byte)

Parameters

NameTypeDescription
valueBytebyte value

Set

Set byte value

method : public : Set(value:Byte) ~ Nil

Parameters

NameTypeDescription
valueBytebyte value

ToArray

Creates an array of primitives from references

function : ToArray(input:ByteRef[]) ~ Byte[]

Parameters

NameTypeDescription
inputByteRefarray of references

Return

TypeDescription
Bytean array of primitives