Name
SPVM::Mutable::Byte - Mutable byte Object
Description
The Mutable::Byte class has methods to manipulate an object that has a byte value.
This class is mutable.
Usage
my $byte_object = Mutable::Byte->new(5);
my $byte_value = $byte_object->value;
$byte_object->set_value(10);
Fields
value
has value : rw byte;
The value.
Class Methods
new
static method new : Mutable::Byte ($value : int);
Creates a new Mutable::Byte object with a byte
$value.
Copyright & License
Copyright (c) 2023 Yuki Kimoto
MIT License