SPVM::Byte − A byte Value as An Object
Byte class in SPVM represents a byte value as an object.
my $byte_object
= Byte−>new(5);
my $byte_value = $byte_object−>value;
This class is immutable.
This class is automatically loaded.
|
• |
Stringable |
"has value : ro byte;"
The value.
"static method new : Byte ($value : int);"
Creates a new Byte object with a "byte" $value.
"method to_string : string ();"
Casts the value to string type and returns it.
Copyright (c) 2023 Yuki Kimoto
MIT License