Name

SPVM::Byte - Byte object

Synopsys

use Byte;

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

Description

Byte object holds a byte type value.

This object is immutable and its value cannot be changed.

Byte is automatically loaded just after the program starts.

Class Methods

new

static method new : Byte ($value : byte)

Create a new Byte object with a byte value.

Instance Methods

value

method value : byte ()

Get a byte value.