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

Name

SPVM::Byte - The byte Object

Description

The Byte class has methods to manipulate an object that has a byte value.

This class is immutable.

This class is automatically loaded.

Usage

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

Fields

value

  has value : ro byte;

The value.

Class Methods

new

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

Creates a new Byte object with a byte $value.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License