SPVM::Byte(3)

πŸ“¦ version 0.990125, in alpine 3.24

πŸ’– SPVM::Byte πŸ’–

okay bestie, this is the SPVM::Byte(3) page from the User Contributed Perl Documentation, and it's literally about wrapping a byte value as an object. Cute, tiny, iconic. Let's go πŸ’…


πŸ“› Name πŸ“›

SPVM::Byte - A byte Value as An Object

That's the name, bestie β€” a byte value, but make it an object. Periodt.

πŸ’– Description πŸ’–

Byte class in SPVM represents a byte value as an object.

Like, it takes a byte and gives it object main-character energy. No cap. ✨

🌸 Usage 🌸

Here's the vibe check β€” make one, then grab the value back out:

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

πŸ¦‹ Details πŸ¦‹

  • This class is immutable.
  • This class is automatically loaded.

So yeah: it's giving immutable, and it's automatically loaded. 🫢

πŸŽ€ Interfaces πŸŽ€

  • Stringable β€” yep, that's the interface, bestie. Slay.

πŸ“ Fields πŸ“

value

has value : ro byte;

The value. That's the field. That's it. πŸ“

πŸ”₯ Class Methods πŸ”₯

new

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

Creates a new Byte object with a byte $value.

🌈 Instance Methods 🌈

to_string

method to_string : string ();

Casts the value to string type and returns it. Literally that. πŸ’œ

Copyright (c) 2023 Yuki Kimoto

MIT License


k bye bestie πŸ’– β€” this was the SPVM::Byte(3) page, source/version perl v5.42.2, dated 2026-02-03. Stay iconic, and may your byte objects always be cute. πŸŽ€

πŸ“¦ where this page comes from