Byte
classin packageklyn
public class Byte extends AbstractUnsignedInt implements ValueType:
All Implemented Interfaces: ValueType
Represents an 8-bit unsigned integer.
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public native Byte Builds the neutral Byte value (`0`).
public native Byte
Byte(value: Double)
Builds a Byte from a Double value.
public native Byte
Byte(value: Float)
Builds a Byte from a Float value.
public native Byte
Byte(value: String) throws BadValueException
Builds a Byte from a textual representation.
Methods
Modifier and Type Member Description
public override toString
toString() as String:
Converts this value to its textual representation.
public static tryParse
tryParse( readonly value as String, out result as Byte ) as Boolean:
Parses a Byte value from text.
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml
Operators
Modifier and Type Member Description
public native static operator!=( readonly a as Byte, readonly b as Byte ) as Boolean No summary.
public native static operator%( readonly a as Byte, readonly b as Byte ) as Byte No summary.
public native static operator%=( readonly a as Byte, readonly b as Byte ) as Void No summary.
public native static operator*( readonly a as Byte, readonly b as Byte ) as Byte No summary.
public native static operator**( readonly value as Byte, readonly power as UInt ) as Byte No summary.
public native static operator**=( readonly value as Byte, readonly power as UInt ) as Void No summary.
public native static operator*=( readonly a as Byte, readonly b as Byte ) as Void No summary.
public native static operator+( readonly a as Byte, readonly b as Byte ) as Byte Native arithmetic operators.
public native static operator+=( readonly a as Byte, readonly b as Byte ) as Void Native compound assignment operators.
public native static operator-( readonly a as Byte, readonly b as Byte ) as Byte No summary.
public native static operator-=( readonly a as Byte, readonly b as Byte ) as Void No summary.
public native static operator/( readonly a as Byte, readonly b as Byte ) as Byte No summary.
public native static operator//( readonly a as Byte, readonly b as Byte ) as Byte No summary.
public native static operator//=( readonly a as Byte, readonly b as Byte ) as Void No summary.
public native static operator/=( readonly a as Byte, readonly b as Byte ) as Void No summary.
public native static operator<( readonly a as Byte, readonly b as Byte ) as Boolean No summary.
public native static operator<=( readonly a as Byte, readonly b as Byte ) as Boolean No summary.
public native static operator==( readonly a as Byte, readonly b as Byte ) as Boolean Native comparison operators.
public native static operator>( readonly a as Byte, readonly b as Byte ) as Boolean No summary.
public native static operator>=( readonly a as Byte, readonly b as Byte ) as Boolean No summary.