Name

SPVM::Byte - Byte Class

Usage

my $byte_object = Byte->new(5);
my $byte_value = $byte_object->value;
$byte_object->set_value(10);

Description

Byte is the class to hold a value of the byte type.

This class is automatically loaded.

Fields

value

has value : rw byte;

The value.

Class Methods

new

static method new : Byte ($value : int);

Creates a new Byte object with a byte $value.