Holds an byte value
Implements: Compare, Clone, Stringify, Primitive
OperationsDefault constructor
New()
Copy constructor
New(value:Byte)
Name | Type | Description |
---|---|---|
value | Byte | byte value |
Clones the object instance
method : public : Clone() ~ System.ByteRef
Type | Description |
---|---|
ByteRef | cloned the object instance |
Compares two objects
method : public : native : Compare(rhs:System.Compare) ~ Int
Name | Type | Description |
---|---|---|
rhs | Compare | compare object |
Type | Description |
---|---|
Int | 0 if equal, -1 if right-hand side i greater, 1 if left-hand side is greater |
Creates an array of references from primitives
function : FromArray(input:Byte[]) ~ ByteRef[]
Name | Type | Description |
---|---|---|
input | Byte[] | array of primitives |
Type | Description |
---|---|
ByteRef[] | an array of references |
Get byte value
method : public : Get() ~ Byte
Type | Description |
---|---|
Byte | byte value |
Returns a unique hash ID for a byte
method : public : HashID() ~ Int
Type | Description |
---|---|
Int | hash ID |
Set byte value
method : public : Set(value:Byte) ~ Nil
Name | Type | Description |
---|---|---|
value | Byte | byte value |
Creates an array of primitives from references
function : ToArray(input:ByteRef[]) ~ Byte[]
Name | Type | Description |
---|---|---|
input | ByteRef[] | array of references |
Type | Description |
---|---|
Byte[] | an array of primitives |