The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SPVM::Byte - Byte in SPVM | 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.