SPVM::Byte(3)
π 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 & License Β©οΈ
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
- alpine 3.24: spvm-doc 0.990125-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms