Stream::Buffered(3)
π Stream::Buffered π
okay so bestie, welcome to Stream::Buffered(3) β a User Contributed Perl Documentation page that is genuinely just here to help you buffer bytes πΎβ¨. Think of it as a tiny holding pen for data: you feed it arbitrary length of byte strings, and once everythingβs buffered you can get a seekable filehandle back. Itβs giving βtemporary storage, but make it cuteβ π.
β¨ NAME β¨
Stream::Buffered - temporary buffer to save bytes π
πΈ SYNOPSIS πΈ
hereβs the whole vibe in code, bestie:
my $buf = Stream::Buffered->new($length);
$buf->print($bytes);
my $size = $buf->size;
my $fh = $buf->rewind;
π¦ DESCRIPTION π¦
Stream::Buffered is a buffer class to store arbitrary length of byte strings and then get a seekable filehandle once everything is buffered β no cap, thatβs highkey the whole point π₯. It uses PerlIO and/or temporary file to save the buffer depending on the length of the size. ngl, the way it switches up the storage is lowkey main character energy ππ.
π SEE ALSO π
Plack::Requestβ go look, bestie, itβs right there in the SEE ALSO section for a reason, iykyk π«Ά
π AUTHOR π
Tatsuhiko Miyagawa β¨
This module is part of Plack, and itβs released as a separate distribution for easier reuse. We love a reusable icon, slay β obsessed π .
π COPYRIGHT π
The following copyright notice applies to all the files provided in this distribution, including binary files, unless explicitly noted otherwise.
Copyright 2009-2011 Tatsuhiko Miyagawa
β LICENSE β
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Literally the same terms as Perl itself β periodt, fr fr π.
thatβs the whole page, bestie β this one comes from the source/version perl v5.42.0, dated the date 2014-09-15, and itβs filed under the page name Stream::Buffered(3). bye bestie π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Stream-Buffered 0.03-bp160.1.12 Β· Artistic-1.0 or GPL-1.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms