Byte
Library of functions for the byte type.
Functions
From
Builds a byte from a number or string.
Syntax:
Byte.From(value: number or string)
Parameters
value
: The value to convert to byte.
Returns
byte
: The byte representation of the value.
Example:
Byte.From("123")
// Result:
// 123
Byte.From(1.5)
// Result:
// 1