Byte class

Datatype Byte

Inheritance

Constructors

Byte(int num, { ErrorGenerator error_generator })
Used to insert a byte into nbt data
Byte.Boolean(bool b, { ErrorGenerator error_generator })
Used to insert a boolean into nbt data

Properties

boolValue → bool
The boolean value (if the byte is no boolean then null)
read-only
isBool → bool
is the Byte a boolean
read-only
value → int
the byte value (number from -128 to 127)
read-only
design ↔ dynamic
read / write, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

set(dynamic v) → void
Set byte to number or boolean
toString() → String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
StrDesign(dynamic design) → dynamic
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited