Home

Byte

The byte class represents a 1-byte value.

Operations

Error

Prints error value

function : public : Error() ~ Nil

ErrorLine

Prints error value with newline

function : public : ErrorLine() ~ Nil

Max

Returns the largest byte value

function : public : native : Max(l:Byte, r:Byte) ~ Byte
Parameters
NameTypeDescription
lBytevalue to compare
rBytevalue to compare

Return
TypeDescription
Bytelargest byte value

Min

Returns the smallest byte value

function : public : native : Min(l:Byte, r:Byte) ~ Byte
Parameters
NameTypeDescription
lBytevalue to compare
rBytevalue to compare

Return
TypeDescription
Bytesmallest byte value

Print

Prints value

function : public : Print() ~ Nil

PrintLine

Prints value with newline

function : public : PrintLine() ~ Nil

ToBinaryString

Returns a binary string representation of the value

function : public : native : ToBinaryString() ~ String
Return
TypeDescription
Stringbinary string representation of the value

ToHexString

Returns a hexadecimal string representation of the value

function : public : native : ToHexString() ~ String
Return
TypeDescription
Stringhexadecimal string representation of the value

ToString

Returns a string representation of the value

function : public : native : ToString() ~ String
Return
TypeDescription
Stringstring representation of the value